Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nitipit committed Feb 2, 2024
1 parent 125e64b commit 2412500
Show file tree
Hide file tree
Showing 41 changed files with 597 additions and 22,164 deletions.
2 changes: 1 addition & 1 deletion docs-src/_base.comp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
BlockQuote,
Button, buttonStyle,
color,
} from './ux.bundle.js';
} from './ux.js';

function baseComponents() {
const __base_url = new URL(import.meta.url);
Expand Down
23 changes: 0 additions & 23 deletions docs-src/_base.lib.ts

This file was deleted.

2 changes: 1 addition & 1 deletion docs-src/_base.style.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { stylis } from './lib/lib.export.bundle.js';

import { buttonStyle, bgColor, fontFluid, color } from "./ux.bundle.js";
import { buttonStyle, bgColor, fontFluid, color } from "./ux.js";


function baseStyle() {
Expand Down
2 changes: 1 addition & 1 deletion docs-src/_base.styleClass.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { aspectRatio } from './_ux/style';
import { aspectRatio } from './ux/style.js';

function styleClass() {
const cssStyleSheet = new CSSStyleSheet();
Expand Down
2 changes: 1 addition & 1 deletion docs-src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Adapter } from './lib/lib.export.bundle.js';
import {
buttonStyle,
color
} from './ux.bundle.js';
} from './ux.js';


const css = String.raw;
Expand Down
30 changes: 0 additions & 30 deletions docs-src/ux.bundle.ts

This file was deleted.

30 changes: 30 additions & 0 deletions docs-src/ux.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import {
bgColor,
lift,
pxToRem,
aspectRatio,
fontFluid
} from './ux/style.js';

import { color } from './ux/designToken.js';

import { BlockQuote } from './ux/ui/blockquote.js';
import { Button, buttonStyle } from './ux/ui/button.js';
import { CodeBlock } from './ux/ui/code-block.js';
import { Menu } from './ux/ui/menu.js';
import { Sidebar } from './ux/ui/sidebar.js';

export {
bgColor,
lift,
pxToRem,
aspectRatio,
fontFluid,
color,
BlockQuote,
Button,
buttonStyle,
CodeBlock,
Menu,
Sidebar
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs-src/_ux/ui/button.ts → docs-src/ux/ui/button.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Adapter, Color } from "../../lib/lib.export.bundle.js";
import { bgColor, lift } from '../style';
import { bgColor, lift } from '../style.js';

const buttonStyle = (color) => {
return /*css*/`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Adapter } from '../../lib/lib.export.bundle.js';
import { bgColor } from '../style.js';
import { color } from '../designToken';
import { color } from '../designToken.js';

class CodeBlock extends Adapter {
static css = /*css*/`
Expand Down
4 changes: 2 additions & 2 deletions docs-src/_ux/ui/menu.ts → docs-src/ux/ui/menu.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Adapter } from "../../lib/lib.export.bundle.js";

import { bgColor, pxToRem } from '../style';
import { color } from '../designToken';
import { bgColor, pxToRem } from '../style.js';
import { color } from '../designToken.js';


interface MenuStyleParam {
Expand Down
File renamed without changes.
Loading

0 comments on commit 2412500

Please sign in to comment.