lism-css 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. package/README.ja.md +9 -9
  2. package/README.md +12 -12
  3. package/config/default-config.ts +2 -2
  4. package/config/defaults/props.ts +16 -26
  5. package/config/defaults/traits.ts +16 -0
  6. package/config/index.ts +3 -3
  7. package/dist/components/{atomic/Media → Media}/Media.d.ts +2 -2
  8. package/dist/components/{atomic/Media → Media}/index.js +1 -1
  9. package/dist/components/atomic/Icon/getProps.d.ts +1 -1
  10. package/dist/components/atomic/Icon/index.d.ts +1 -1
  11. package/dist/components/index.d.ts +18 -18
  12. package/dist/components/index.js +45 -45
  13. package/dist/components/{Box → layout/Box}/Box.d.ts +2 -2
  14. package/dist/components/{Box → layout/Box}/index.js +1 -1
  15. package/dist/components/{Center → layout/Center}/Center.d.ts +2 -2
  16. package/dist/components/{Center → layout/Center}/index.js +1 -1
  17. package/dist/components/{Cluster → layout/Cluster}/Cluster.d.ts +2 -2
  18. package/dist/components/{Cluster → layout/Cluster}/index.js +1 -1
  19. package/dist/components/{Columns → layout/Columns}/Columns.d.ts +2 -2
  20. package/dist/components/{Columns → layout/Columns}/index.js +1 -1
  21. package/dist/components/{Flex → layout/Flex}/Flex.d.ts +2 -2
  22. package/dist/components/{Flex → layout/Flex}/index.js +1 -1
  23. package/dist/components/{Flow → layout/Flow}/Flow.d.ts +2 -2
  24. package/dist/components/{Flow → layout/Flow}/index.js +1 -1
  25. package/dist/components/{FluidCols → layout/FluidCols}/FluidCols.d.ts +2 -2
  26. package/dist/components/{FluidCols → layout/FluidCols}/index.js +1 -1
  27. package/dist/components/{Frame → layout/Frame}/Frame.d.ts +2 -2
  28. package/dist/components/{Frame → layout/Frame}/index.js +1 -1
  29. package/dist/components/{Grid → layout/Grid}/Grid.d.ts +2 -2
  30. package/dist/components/{Grid → layout/Grid}/index.js +1 -1
  31. package/dist/components/{SideMain → layout/SideMain}/SideMain.d.ts +2 -2
  32. package/dist/components/{SideMain → layout/SideMain}/index.js +1 -1
  33. package/dist/components/{Stack → layout/Stack}/Stack.d.ts +2 -2
  34. package/dist/components/{Stack → layout/Stack}/index.js +1 -1
  35. package/dist/components/{SwitchCols → layout/SwitchCols}/SwitchCols.d.ts +2 -2
  36. package/dist/components/{SwitchCols → layout/SwitchCols}/index.js +1 -1
  37. package/dist/components/layout/TileGrid/TileGrid.d.ts +4 -0
  38. package/dist/components/layout/TileGrid/index.d.ts +1 -0
  39. package/dist/components/layout/TileGrid/index.js +8 -0
  40. package/dist/components/state/BoxLink/BoxLink.d.ts +5 -0
  41. package/dist/components/{LinkBox/LinkBox.stories.d.ts → state/BoxLink/BoxLink.stories.d.ts} +3 -3
  42. package/dist/components/state/BoxLink/index.d.ts +1 -0
  43. package/dist/components/{LinkBox → state/BoxLink}/index.js +2 -2
  44. package/dist/components/state/BoxLink/script.d.ts +4 -0
  45. package/dist/components/state/Container/Container.d.ts +2 -0
  46. package/dist/components/{Container → state/Container}/Container.stories.d.ts +2 -2
  47. package/dist/components/state/Container/index.js +8 -0
  48. package/dist/components/{Layer → state/Layer}/Layer.d.ts +1 -1
  49. package/dist/components/{Layer → state/Layer}/index.js +1 -1
  50. package/dist/components/{Wrapper → state/Wrapper}/Wrapper.d.ts +1 -1
  51. package/dist/components/{Wrapper → state/Wrapper}/index.js +1 -1
  52. package/dist/config/default-config.d.ts +27 -73
  53. package/dist/config/default-config.js +4 -4
  54. package/dist/config/defaults/props.d.ts +24 -58
  55. package/dist/config/defaults/props.js +16 -26
  56. package/dist/config/defaults/{states.d.ts → traits.d.ts} +2 -14
  57. package/dist/config/defaults/traits.js +19 -0
  58. package/dist/config/index.d.ts +54 -146
  59. package/dist/config/index.js +5 -5
  60. package/dist/css/base.css +1 -1
  61. package/dist/css/main.css +1 -1
  62. package/dist/css/main_no_layer.css +1 -1
  63. package/dist/css/primitives/layout.css +1 -0
  64. package/dist/css/primitives/trait.css +1 -0
  65. package/dist/css/props.css +1 -1
  66. package/dist/css/utility.css +1 -1
  67. package/dist/lib/getLayoutProps.js +12 -15
  68. package/dist/lib/getLismProps.d.ts +9 -6
  69. package/dist/lib/getLismProps.js +113 -101
  70. package/dist/lib/helper/mergeSet.d.ts +10 -0
  71. package/dist/lib/helper/mergeSet.js +14 -0
  72. package/dist/lib/types/LayoutProps.d.ts +4 -1
  73. package/dist/lib/types/TraitProps.d.ts +47 -0
  74. package/dist/lib/types/TraitProps.spec-d.d.ts +1 -0
  75. package/package.json +1 -1
  76. package/packages/astro/{Decorator → atomic/Decorator}/Decorator.astro +1 -1
  77. package/packages/astro/{Divider → atomic/Divider}/Divider.astro +2 -2
  78. package/packages/astro/{Icon → atomic/Icon}/Icon.astro +1 -1
  79. package/packages/astro/{Spacer → atomic/Spacer}/Spacer.astro +2 -2
  80. package/packages/astro/index.ts +26 -22
  81. package/packages/astro/{Box → layout/Box}/Box.astro +2 -2
  82. package/packages/astro/{Center → layout/Center}/Center.astro +2 -2
  83. package/packages/astro/{Cluster → layout/Cluster}/Cluster.astro +2 -2
  84. package/packages/astro/{Columns → layout/Columns}/Columns.astro +2 -2
  85. package/packages/astro/{Flex → layout/Flex}/Flex.astro +2 -2
  86. package/packages/astro/{Flow → layout/Flow}/Flow.astro +2 -2
  87. package/packages/astro/{FluidCols → layout/FluidCols}/FluidCols.astro +2 -2
  88. package/packages/astro/{Frame → layout/Frame}/Frame.astro +2 -2
  89. package/packages/astro/{Grid → layout/Grid}/Grid.astro +2 -2
  90. package/packages/astro/{SideMain → layout/SideMain}/SideMain.astro +2 -2
  91. package/packages/astro/{Stack → layout/Stack}/Stack.astro +2 -2
  92. package/packages/astro/{SwitchCols → layout/SwitchCols}/SwitchCols.astro +2 -2
  93. package/packages/astro/layout/TileGrid/TileGrid.astro +11 -0
  94. package/packages/astro/layout/TileGrid/index.ts +1 -0
  95. package/packages/astro/{LinkBox/LinkBox.astro → state/BoxLink/BoxLink.astro} +4 -4
  96. package/packages/astro/state/BoxLink/index.ts +1 -0
  97. package/packages/astro/state/Container/Container.astro +11 -0
  98. package/packages/astro/{Layer → state/Layer}/Layer.astro +2 -2
  99. package/packages/astro/{Wrapper → state/Wrapper}/Wrapper.astro +2 -2
  100. package/src/scss/_auto_output.scss +1 -1
  101. package/src/scss/_prop-config.scss +24 -26
  102. package/src/scss/_with_layer.scss +15 -8
  103. package/src/scss/base/_html.scss +8 -8
  104. package/src/scss/base/tokens/_tokens.scss +1 -3
  105. package/src/scss/main_no_layer.scss +4 -4
  106. package/src/scss/primitives/layout/_grid.scss +7 -0
  107. package/src/scss/primitives/layout/_tileGrid.scss +4 -0
  108. package/src/scss/{modules → primitives}/layout/index.scss +2 -1
  109. package/src/scss/{modules/state/_linkbox.scss → primitives/trait/_boxLink.scss} +4 -4
  110. package/src/scss/{utility/_linkExpand.scss → primitives/trait/_coverLink.scss} +1 -1
  111. package/src/scss/primitives/trait/index.scss +7 -0
  112. package/src/scss/props/index.scss +1 -1
  113. package/src/scss/utility/_cbox.scss +1 -1
  114. package/src/scss/utility/_clipText.scss +1 -1
  115. package/src/scss/utility/index.scss +0 -1
  116. package/config/defaults/states.ts +0 -43
  117. package/config/helper/getSvgUrl.ts +0 -26
  118. package/dist/components/Container/Container.d.ts +0 -6
  119. package/dist/components/Container/index.js +0 -8
  120. package/dist/components/HTML/HTML.d.ts +0 -26
  121. package/dist/components/HTML/index.d.ts +0 -14
  122. package/dist/components/HTML/index.js +0 -5
  123. package/dist/components/HTML/index2.js +0 -45
  124. package/dist/components/LinkBox/LinkBox.d.ts +0 -5
  125. package/dist/components/LinkBox/index.d.ts +0 -1
  126. package/dist/components/LinkBox/script.d.ts +0 -4
  127. package/dist/config/defaults/states.js +0 -38
  128. package/dist/config/helper/getSvgUrl.d.ts +0 -5
  129. package/dist/config/helper/getSvgUrl.js +0 -4
  130. package/dist/css/modules/layout.css +0 -1
  131. package/dist/css/modules/state.css +0 -1
  132. package/dist/lib/types/StateProps.d.ts +0 -27
  133. package/packages/astro/Container/Container.astro +0 -14
  134. package/packages/astro/HTML/_index_memo.js +0 -29
  135. package/packages/astro/HTML/a.astro +0 -10
  136. package/packages/astro/HTML/button.astro +0 -10
  137. package/packages/astro/HTML/div.astro +0 -10
  138. package/packages/astro/HTML/h.astro +0 -13
  139. package/packages/astro/HTML/img.astro +0 -10
  140. package/packages/astro/HTML/index.ts +0 -12
  141. package/packages/astro/HTML/li.astro +0 -10
  142. package/packages/astro/HTML/ol.astro +0 -10
  143. package/packages/astro/HTML/p.astro +0 -10
  144. package/packages/astro/HTML/span.astro +0 -10
  145. package/packages/astro/HTML/ul.astro +0 -10
  146. package/packages/astro/LinkBox/index.ts +0 -1
  147. package/src/scss/modules/layout/_grid.scss +0 -12
  148. package/src/scss/modules/state/index.scss +0 -6
  149. /package/dist/components/{atomic/Media → Media}/Media.stories.d.ts +0 -0
  150. /package/dist/components/{atomic/Media → Media}/index.d.ts +0 -0
  151. /package/dist/components/{Box → layout/Box}/Box.stories.d.ts +0 -0
  152. /package/dist/components/{Box → layout/Box}/index.d.ts +0 -0
  153. /package/dist/components/{Center → layout/Center}/Center.stories.d.ts +0 -0
  154. /package/dist/components/{Center → layout/Center}/index.d.ts +0 -0
  155. /package/dist/components/{Cluster → layout/Cluster}/Cluster.stories.d.ts +0 -0
  156. /package/dist/components/{Cluster → layout/Cluster}/index.d.ts +0 -0
  157. /package/dist/components/{Columns → layout/Columns}/Columns.stories.d.ts +0 -0
  158. /package/dist/components/{Columns → layout/Columns}/index.d.ts +0 -0
  159. /package/dist/components/{Flex → layout/Flex}/Flex.stories.d.ts +0 -0
  160. /package/dist/components/{Flex → layout/Flex}/index.d.ts +0 -0
  161. /package/dist/components/{Flow → layout/Flow}/Flow.stories.d.ts +0 -0
  162. /package/dist/components/{Flow → layout/Flow}/index.d.ts +0 -0
  163. /package/dist/components/{FluidCols → layout/FluidCols}/FluidCols.stories.d.ts +0 -0
  164. /package/dist/components/{FluidCols → layout/FluidCols}/index.d.ts +0 -0
  165. /package/dist/components/{Frame → layout/Frame}/Frame.stories.d.ts +0 -0
  166. /package/dist/components/{Frame → layout/Frame}/index.d.ts +0 -0
  167. /package/dist/components/{Grid → layout/Grid}/Grid.stories.d.ts +0 -0
  168. /package/dist/components/{Grid → layout/Grid}/index.d.ts +0 -0
  169. /package/dist/components/{SideMain → layout/SideMain}/SideMain.stories.d.ts +0 -0
  170. /package/dist/components/{SideMain → layout/SideMain}/index.d.ts +0 -0
  171. /package/dist/components/{Stack → layout/Stack}/Stack.stories.d.ts +0 -0
  172. /package/dist/components/{Stack → layout/Stack}/index.d.ts +0 -0
  173. /package/dist/components/{SwitchCols → layout/SwitchCols}/SwitchCols.stories.d.ts +0 -0
  174. /package/dist/components/{SwitchCols → layout/SwitchCols}/index.d.ts +0 -0
  175. /package/dist/components/{Container → state/Container}/index.d.ts +0 -0
  176. /package/dist/components/{Layer → state/Layer}/Layer.stories.d.ts +0 -0
  177. /package/dist/components/{Layer → state/Layer}/Layer.test.d.ts +0 -0
  178. /package/dist/components/{Layer → state/Layer}/index.d.ts +0 -0
  179. /package/dist/components/{Wrapper → state/Wrapper}/Wrapper.stories.d.ts +0 -0
  180. /package/dist/components/{Wrapper → state/Wrapper}/index.d.ts +0 -0
  181. /package/dist/css/{modules → primitives}/atomic.css +0 -0
  182. /package/dist/lib/{types/StateProps.spec-d.d.ts → helper/mergeSet.test.d.ts} +0 -0
  183. /package/packages/astro/{Decorator → atomic/Decorator}/index.ts +0 -0
  184. /package/packages/astro/{Divider → atomic/Divider}/index.ts +0 -0
  185. /package/packages/astro/{Icon → atomic/Icon}/SVG.astro +0 -0
  186. /package/packages/astro/{Icon → atomic/Icon}/index.ts +0 -0
  187. /package/packages/astro/{Spacer → atomic/Spacer}/index.ts +0 -0
  188. /package/packages/astro/{Box → layout/Box}/index.ts +0 -0
  189. /package/packages/astro/{Center → layout/Center}/index.ts +0 -0
  190. /package/packages/astro/{Cluster → layout/Cluster}/index.ts +0 -0
  191. /package/packages/astro/{Columns → layout/Columns}/index.ts +0 -0
  192. /package/packages/astro/{Flex → layout/Flex}/index.ts +0 -0
  193. /package/packages/astro/{Flow → layout/Flow}/index.ts +0 -0
  194. /package/packages/astro/{FluidCols → layout/FluidCols}/index.ts +0 -0
  195. /package/packages/astro/{Frame → layout/Frame}/index.ts +0 -0
  196. /package/packages/astro/{Grid → layout/Grid}/index.ts +0 -0
  197. /package/packages/astro/{SideMain → layout/SideMain}/index.ts +0 -0
  198. /package/packages/astro/{Stack → layout/Stack}/index.ts +0 -0
  199. /package/packages/astro/{SwitchCols → layout/SwitchCols}/index.ts +0 -0
  200. /package/packages/astro/{Container → state/Container}/index.ts +0 -0
  201. /package/packages/astro/{Layer → state/Layer}/index.ts +0 -0
  202. /package/packages/astro/{Wrapper → state/Wrapper}/index.ts +0 -0
  203. /package/src/scss/{modules → primitives}/atomic/_divider.scss +0 -0
  204. /package/src/scss/{modules → primitives}/atomic/_icon.scss +0 -0
  205. /package/src/scss/{modules → primitives}/atomic/_spacer.scss +0 -0
  206. /package/src/scss/{modules → primitives}/atomic/index.scss +0 -0
  207. /package/src/scss/{modules → primitives}/layout/_center.scss +0 -0
  208. /package/src/scss/{modules → primitives}/layout/_cluster.scss +0 -0
  209. /package/src/scss/{modules → primitives}/layout/_columns.scss +0 -0
  210. /package/src/scss/{modules → primitives}/layout/_flex.scss +0 -0
  211. /package/src/scss/{modules → primitives}/layout/_flow.scss +0 -0
  212. /package/src/scss/{modules → primitives}/layout/_fluidCols.scss +0 -0
  213. /package/src/scss/{modules → primitives}/layout/_frame.scss +0 -0
  214. /package/src/scss/{modules → primitives}/layout/_sideMain.scss +0 -0
  215. /package/src/scss/{modules → primitives}/layout/_stack.scss +0 -0
  216. /package/src/scss/{modules → primitives}/layout/_switchCols.scss +0 -0
  217. /package/src/scss/{modules/state → primitives/trait}/_container.scss +0 -0
  218. /package/src/scss/{modules/state → primitives/trait}/_layer.scss +0 -0
  219. /package/src/scss/{modules/state → primitives/trait}/_vertical.scss +0 -0
  220. /package/src/scss/{modules/state → primitives/trait}/_wrapper.scss +0 -0
package/README.ja.md CHANGED
@@ -18,8 +18,8 @@ React / Astro 向けのコンポーネントも提供しており、propsを通
18
18
 
19
19
  - **軽量** - CSS バンドル全体で約 30 KB(gzip 圧縮時 約 8 KB)と、軽量です。
20
20
  - **ゼロビルドフレームワーク** — CSS ファイルを読み込むだけで、プレーン HTML でも動作します。ビルドツール、プリプロセッサ、設定は不要。CDN または npm で利用可能。
21
- - **レイアウト優先のモジュールアーキテクチャ**レイアウトモジュール(`l--flex`、`l--stack`、`l--grid`、`l--columns`、`l--center`、`l--sideMain` など)で、カスタム CSS を書かずに一般的なレイアウトパターンを組み立てられます。
22
- - **CSS レイヤー構造** — `@layer`(lism-reset → lism-base → lism-modules → lism-utility)を使用した明確な詳細度管理。詳細度の衝突を最小限に抑えます。
21
+ - **レイアウト優先のプリミティブアーキテクチャ**レイアウトプリミティブ(`l--flex`、`l--stack`、`l--grid`、`l--columns`、`l--center`、`l--sideMain` など)で、カスタム CSS を書かずに一般的なレイアウトパターンを組み立てられます。
22
+ - **CSS レイヤー構造** — `@layer`(lism-base → lism-primitive → lism-component → lism-custom → lism-utility)を使用した明確な詳細度管理。`lism-primitive` の内部は `trait` / `layout` / `atomic` のサブレイヤーに分かれています。`lism-component` は BEM 構造の `c--` コンポーネント用レイヤー、`lism-custom` はユーザー独自プレフィックスのクラス用レイヤーです。詳細度の衝突を最小限に抑えます。
23
23
  - **デザイントークン** — カラー、スペーシング、フォントサイズ、シャドウ、ボーダー半径を CSS カスタムプロパティで管理。変数を上書きするだけで簡単にカスタマイズできます。
24
24
  - **柔軟なプロップクラス** — `-{prop}:{value}` の命名規則(例: `-p:20`、`-bgc:base-2`、`-fz:l`)で CSS プロパティをユーティリティクラスにマッピングし、素早く読みやすいスタイリングを実現します。
25
25
  - **レスポンシブシステム** — ブレークポイント固有のクラスと CSS 変数(例: `-p_sm`、`-p_md`)にデフォルトでコンテナクエリを採用し、親要素ベースのレスポンシブデザインを実現。メディアクエリへの切り替えも可能。
@@ -131,7 +131,7 @@ Lism CSS は以下の React / Astro コンポーネントを提供します:
131
131
  Lism, Box, Flow, Flex, Cluster, Stack, Grid, FluidCols, SwitchCols, SideMain, Center, Columns, Frame
132
132
 
133
133
  **構造コンポーネント:**
134
- Container, Wrapper, Layer, LinkBox
134
+ Container, Wrapper, Layer, BoxLink
135
135
 
136
136
  **コンテンツコンポーネント:**
137
137
  Text, Heading, Inline, Link, Group, List
@@ -147,8 +147,8 @@ Lism CSS は構造化された命名規則を CSS クラスに使用していま
147
147
 
148
148
  | タイプ | パターン | 例 |
149
149
  |--------|---------|-----|
150
- | レイアウトモジュール | `l--{name}` | `l--flex`, `l--grid`, `l--stack`, `l--center`, `l--columns`, `l--sideMain` |
151
- | ステートモジュール | `is--{name}` | `is--wrapper`, `is--container`, `is--layer` |
150
+ | レイアウトプリミティブ | `l--{name}` | `l--flex`, `l--grid`, `l--stack`, `l--center`, `l--columns`, `l--sideMain` |
151
+ | トレイトプリミティブ | `is--{name}` | `is--wrapper`, `is--container`, `is--layer` |
152
152
  | プロップクラス | `-{prop}:{value}` | `-p:20`, `-m:auto`, `-bgc:base-2`, `-fz:l`, `-ta:center` |
153
153
  | ブレークポイント | `-{prop}_{bp}` | `-p_sm`, `-g_md`, `-fz_lg` |
154
154
  | ユーティリティクラス | `u--{name}` | `u--cbox` |
@@ -180,10 +180,10 @@ Lism CSS は構造化された命名規則を CSS クラスに使用していま
180
180
  Lism CSS は一貫したデザインのための CSS カスタムプロパティを提供します:
181
181
 
182
182
  - **カラー:** `--base`、`--base-2`、`--text`、`--text-2`、`--link`、`--divider`、`--brand`、`--accent`、パレットカラー(`--red`、`--blue`、`--green` など)
183
- - **スペーシング:** `--s10` `--s50`(rem 値にマッピング)
184
- - **フォントサイズ:** `--fz--xs` 〜 `--fz--2xl`
185
- - **ボーダー半径:** `--bdrs--5`(2px)〜 `--bdrs--99`(99rem)
186
- - **シャドウ:** `--shsz--5` 〜 `--shsz--50`(シャドウカラー設定可能)
183
+ - **スペーシング:** `--s5`, `--s10`, `--s15`, `--s20`, `--s30`, `--s40` `--s80`(rem 値にマッピング)
184
+ - **フォントサイズ:** `--fz--2xs` 〜 `--fz--5xl`
185
+ - **ボーダー半径:** `--bdrs--10`(0.25rem)〜 `--bdrs--99`(99rem)
186
+ - **シャドウ:** `--bxsh--10` 〜 `--bxsh--40`(シャドウカラー設定可能)
187
187
  - **コンテナサイズ:** `--sz--xs`(32rem)〜 `--sz--xl`(1600px)
188
188
 
189
189
  ## UI コンポーネント
package/README.md CHANGED
@@ -17,10 +17,10 @@ No build step or configuration is required. Simply load the CSS file via CDN or
17
17
 
18
18
  - **Lightweight** — The entire CSS bundle is approximately 30 KB (~8 KB gzipped).
19
19
  - **Zero-Build Framework** — Works with plain HTML by simply loading a CSS file. No build tool, preprocessor, or configuration needed. Available via CDN or npm.
20
- - **Layout-First Module Architecture** — Pre-built layout modules (`l--flex`, `l--stack`, `l--grid`, `l--columns`, `l--center`, `l--sideMain`, etc.) let you compose common layout patterns without writing custom CSS.
21
- - **CSS Layer Structure** — Uses `@layer` (lism-reset → lism-base → lism-modules → lism-utility) for clear specificity management. Minimizes specificity conflicts.
20
+ - **Layout-First Primitive Architecture** — Pre-built layout primitives (`l--flex`, `l--stack`, `l--grid`, `l--columns`, `l--center`, `l--sideMain`, etc.) let you compose common layout patterns without writing custom CSS.
21
+ - **CSS Layer Structure** — Uses `@layer` (lism-base → lism-primitive → lism-component → lism-custom → lism-utility) for clear specificity management. `lism-primitive` contains `trait` / `layout` / `atomic` sub-layers. `lism-component` is the layer for BEM-structured `c--` components. `lism-custom` is the layer for user-defined classes with custom prefixes. Minimizes specificity conflicts.
22
22
  - **Design Tokens** — Colors, spacing, font sizes, shadows, and border radii are managed as CSS custom properties. Easy to customize by overriding variables.
23
- - **Flexible Prop Classes** — A `-{prop}:{value}` naming convention (e.g., `-p:20`, `-bgc:base-2`, `-fz:l`) maps CSS properties to utility classes for quick, readable styling.
23
+ - **Flexible Property Classes** — A `-{prop}:{value}` naming convention (e.g., `-p:20`, `-bgc:base-2`, `-fz:l`) maps CSS properties to utility classes for quick, readable styling.
24
24
  - **Responsive System** — Breakpoint-specific classes and CSS variables (e.g., `-p_sm`, `-p_md`) use container queries by default for parent-based responsive design. Switchable to media queries.
25
25
  - **React & Astro Components** — Dedicated components for both React and Astro translate props into Lism CSS classes and variables automatically. Write `<Stack g="20">` instead of `class="l--stack -g:20"`.
26
26
 
@@ -130,7 +130,7 @@ Lism CSS provides the following React and Astro components:
130
130
  Lism, Box, Flow, Flex, Cluster, Stack, Grid, FluidCols, SwitchCols, SideMain, Center, Columns, Frame
131
131
 
132
132
  **Structure Components:**
133
- Container, Wrapper, Layer, LinkBox
133
+ Container, Wrapper, Layer, BoxLink
134
134
 
135
135
  **Content Components:**
136
136
  Text, Heading, Inline, Link, Group, List
@@ -146,9 +146,9 @@ Lism CSS uses a structured naming convention for CSS classes:
146
146
 
147
147
  | Type | Pattern | Examples |
148
148
  |------|---------|----------|
149
- | Layout Module | `l--{name}` | `l--flex`, `l--grid`, `l--stack`, `l--center`, `l--columns`, `l--sideMain` |
150
- | State Module | `is--{name}` | `is--wrapper`, `is--container`, `is--layer` |
151
- | Prop Class | `-{prop}:{value}` | `-p:20`, `-m:auto`, `-bgc:base-2`, `-fz:l`, `-ta:center` |
149
+ | Layout Primitive | `l--{name}` | `l--flex`, `l--grid`, `l--stack`, `l--center`, `l--columns`, `l--sideMain` |
150
+ | Trait Primitive | `is--{name}` | `is--wrapper`, `is--container`, `is--layer` |
151
+ | Property Class | `-{prop}:{value}` | `-p:20`, `-m:auto`, `-bgc:base-2`, `-fz:l`, `-ta:center` |
152
152
  | Breakpoint | `-{prop}_{bp}` | `-p_sm`, `-g_md`, `-fz_lg` |
153
153
  | Utility Class | `u--{name}` | `u--cbox` |
154
154
 
@@ -179,10 +179,10 @@ Default breakpoints: `sm` = 480px, `md` = 800px, `lg` = 1120px (container querie
179
179
  Lism CSS provides CSS custom properties for consistent design:
180
180
 
181
181
  - **Colors:** `--base`, `--base-2`, `--text`, `--text-2`, `--link`, `--divider`, `--brand`, `--accent`, plus palette colors (`--red`, `--blue`, `--green`, etc.)
182
- - **Spacing:** `--s10` through `--s50` (mapped to rem values)
183
- - **Font Sizes:** `--fz--xs` through `--fz--2xl`
184
- - **Border Radius:** `--bdrs--5` (2px) through `--bdrs--99` (99rem)
185
- - **Shadows:** `--shsz--5` through `--shsz--50` with configurable shadow colors
182
+ - **Spacing:** `--s5`, `--s10`, `--s15`, `--s20`, `--s30`, `--s40` `--s80` (mapped to rem values)
183
+ - **Font Sizes:** `--fz--2xs` through `--fz--5xl`
184
+ - **Border Radius:** `--bdrs--10` (0.25rem) through `--bdrs--99` (99rem)
185
+ - **Shadows:** `--bxsh--10` through `--bxsh--40` with configurable shadow colors
186
186
  - **Container Sizes:** `--sz--xs` (32rem) through `--sz--xl` (1600px)
187
187
 
188
188
  ## UI Components
@@ -244,7 +244,7 @@ claude mcp add lism-css -- npx -y @lism-css/mcp
244
244
 
245
245
  ## Documentation
246
246
 
247
- For full documentation, visit [lism-css.com](https://lism-css.com).
247
+ For full documentation, visit [lism-css.com/en](https://lism-css.com/en/).
248
248
 
249
249
  ## Community
250
250
 
@@ -1,9 +1,9 @@
1
1
  import TOKENS from './defaults/tokens';
2
2
  import PROPS from './defaults/props';
3
- import STATES from './defaults/states';
3
+ import TRAITS from './defaults/traits';
4
4
 
5
5
  export default {
6
6
  tokens: TOKENS,
7
7
  props: PROPS,
8
- states: STATES,
8
+ traits: TRAITS,
9
9
  } as const;
@@ -16,8 +16,8 @@
16
16
  */
17
17
 
18
18
  const PLACE_PRESETS = ['start', 'center', 'end'] as const;
19
- const PLACE_UTILS = { 'flex-s': 'flex-start', 'flex-e': 'flex-end' } as const;
20
- const PLACE_SHORTHANDS = { s: 'start', e: 'end', c: 'center', fs: 'flex-s', fe: 'flex-e' } as const;
19
+ const PLACE_FX_PRESETS = ['flex-start', 'flex-end'] as const;
20
+ const PLACE_SHORTHANDS = { s: 'start', e: 'end', c: 'center', fs: 'flex-start', fe: 'flex-end' } as const;
21
21
 
22
22
  export default {
23
23
  f: { prop: 'font', presets: ['inherit'] },
@@ -52,8 +52,7 @@ export default {
52
52
 
53
53
  d: {
54
54
  prop: 'display',
55
- presets: ['none', 'block'],
56
- utils: { 'in-flex': 'inline-flex' },
55
+ presets: ['none', 'block', 'flex', 'inline-flex', 'grid', 'inline-grid', 'inline', 'inline-block'],
57
56
  bp: 1,
58
57
  },
59
58
  o: { prop: 'opacity', presets: ['0'], token: 'o', tokenClass: 1 },
@@ -132,7 +131,7 @@ export default {
132
131
  bdc: {
133
132
  isVar: 1,
134
133
  presets: ['brand', 'accent', 'divider', 'inherit', 'transparent'],
135
- utils: { cc: 'currentColor' },
134
+ utils: { current: 'currentColor' },
136
135
  token: 'color',
137
136
  },
138
137
  bdw: { isVar: 1, bp: 1 }, // --bdw のみ
@@ -170,8 +169,7 @@ export default {
170
169
  // position
171
170
  pos: {
172
171
  prop: 'position',
173
- presets: ['static', 'fixed', 'sticky'],
174
- utils: { rel: 'relative', abs: 'absolute' },
172
+ presets: ['static', 'fixed', 'sticky', 'relative', 'absolute'],
175
173
  },
176
174
  z: { prop: 'zIndex', presets: ['-1', '0', '1', '99'] },
177
175
  t: { prop: 'top', utils: { 0: '0%' }, presets: ['50%', '100%'], token: 'space' },
@@ -236,15 +234,15 @@ export default {
236
234
  overwriteBaseVar: 1,
237
235
  bp: 1,
238
236
  },
239
- 'g-x': { prop: 'columnGap', token: 'space', bp: 1 },
240
- 'g-y': { prop: 'rowGap', token: 'space', bp: 1 },
237
+ cg: { prop: 'columnGap', token: 'space', bp: 1 },
238
+ rg: { prop: 'rowGap', token: 'space', bp: 1 },
241
239
  cols: { isVar: 1, bp: 1 },
242
240
  rows: { isVar: 1, bp: 1 },
243
241
 
244
242
  // flex
245
243
  fxf: { prop: 'flexFlow' },
246
244
  fxw: { prop: 'flexWrap', presets: ['wrap'], bp: 1 },
247
- fxd: { prop: 'flexDirection', utils: { col: 'column', 'col-r': 'column-reverse', 'row-r': 'row-reverse' }, bp: 1 },
245
+ fxd: { prop: 'flexDirection', presets: ['column', 'column-reverse', 'row-reverse'], bp: 1 },
248
246
  fx: { prop: 'flex', presets: ['1'], bp: 1 },
249
247
  fxg: { prop: 'flexGrow', presets: ['1'] },
250
248
  fxsh: { prop: 'flexShrink', presets: ['0'] },
@@ -254,12 +252,6 @@ export default {
254
252
  // gd: { prop: 'grid' },
255
253
  gt: {
256
254
  prop: 'gridTemplate',
257
- presets: ['repeat'],
258
- exUtility: {
259
- repeat: {
260
- 'grid-template': 'repeat(var(--rows,1), 1fr) / repeat(var(--cols,1), 1fr)',
261
- },
262
- },
263
255
  bp: 1,
264
256
  },
265
257
  gta: { prop: 'gridTemplateAreas', bp: 1 },
@@ -274,7 +266,7 @@ export default {
274
266
  // exUtility: { repeat: { '--rows': '1', '--gtr': 'repeat(var(--rows), 1fr)' } },
275
267
  bp: 1,
276
268
  },
277
- gaf: { prop: 'gridAutoFlow', utils: { row: 'row', col: 'column' }, bp: 1 }, //dense
269
+ gaf: { prop: 'gridAutoFlow', presets: ['row', 'column'], bp: 1 }, //dense
278
270
  gac: { prop: 'gridAutoColumns' },
279
271
  gar: { prop: 'gridAutoRows' },
280
272
 
@@ -291,29 +283,27 @@ export default {
291
283
  // -(ai|ac|ji|jc|aslf|jslf): / -$1:
292
284
  ai: {
293
285
  prop: 'alignItems',
294
- presets: [...PLACE_PRESETS, 'stretch'],
295
- utils: PLACE_UTILS,
286
+ presets: [...PLACE_PRESETS, 'stretch', ...PLACE_FX_PRESETS],
296
287
  shorthands: PLACE_SHORTHANDS,
297
288
  bp: 1,
298
289
  },
299
290
  ac: {
300
291
  prop: 'alignContent',
301
- presets: PLACE_PRESETS,
302
- utils: { ...PLACE_UTILS, between: 'space-between' },
292
+ presets: [...PLACE_PRESETS, ...PLACE_FX_PRESETS],
293
+ utils: { between: 'space-between' },
303
294
  shorthands: PLACE_SHORTHANDS,
304
295
  bp: 1,
305
296
  },
306
297
  ji: {
307
298
  prop: 'justifyItems',
308
- presets: [...PLACE_PRESETS, 'stretch'],
309
- utils: PLACE_UTILS,
299
+ presets: [...PLACE_PRESETS, 'stretch', ...PLACE_FX_PRESETS],
310
300
  shorthands: PLACE_SHORTHANDS,
311
301
  bp: 1,
312
302
  },
313
303
  jc: {
314
304
  prop: 'justifyContent',
315
- presets: PLACE_PRESETS,
316
- utils: { ...PLACE_UTILS, between: 'space-between' },
305
+ presets: [...PLACE_PRESETS, ...PLACE_FX_PRESETS],
306
+ utils: { between: 'space-between' },
317
307
  shorthands: PLACE_SHORTHANDS,
318
308
  bp: 1,
319
309
  },
@@ -363,7 +353,7 @@ export default {
363
353
  // },
364
354
 
365
355
  // others
366
- ovwrap: { prop: 'overflowWrap', utils: { any: 'anywhere' } },
356
+ ovwrap: { prop: 'overflowWrap', presets: ['anywhere'] },
367
357
  whspace: { prop: 'whiteSpace', presets: ['nowrap'] },
368
358
  // wordbreak: { prop: 'wordBreak', utils: { keep: 'keep-all', all: 'break-all' } },
369
359
  float: { prop: 'float', presets: ['left', 'right'] },
@@ -0,0 +1,16 @@
1
+ export default {
2
+ isContainer: 'is--container',
3
+ isWrapper: {
4
+ className: 'is--wrapper',
5
+ preset: ['s', 'l'],
6
+ presetClass: '-contentSize',
7
+ customVar: '--contentSize',
8
+ tokenKey: 'sz',
9
+ },
10
+ isLayer: 'is--layer',
11
+ isBoxLink: 'is--boxLink',
12
+ isCoverLink: 'is--coverLink',
13
+ isSide: 'is--side',
14
+ isSkipFlow: 'is--skipFlow',
15
+ isVertical: 'is--vertical',
16
+ } as const;
package/config/index.ts CHANGED
@@ -17,7 +17,7 @@ if (typeof window !== 'undefined' && window._LISM_CSS_CONFIG_) {
17
17
 
18
18
  export const CONFIG = mergedConfig;
19
19
 
20
- const { tokens, props, states } = CONFIG;
20
+ const { tokens, props, traits } = CONFIG;
21
21
 
22
22
  const tokensWithColor = {
23
23
  color: [...tokens.c.values, ...tokens.palette.values],
@@ -28,8 +28,8 @@ const tokensWithColor = {
28
28
  export const TOKENS = arrayConvertToSet(structuredClone(tokensWithColor));
29
29
  export const PROPS = arrayConvertToSet(structuredClone(props));
30
30
 
31
- // STATES は objDeepMerge の型推論により literal types が保持される
32
- export const STATES = states;
31
+ // TRAITS は objDeepMerge の型推論により literal types が保持される
32
+ export const TRAITS = traits;
33
33
 
34
34
  // ブレイクポイント
35
35
  export const BREAK_POINTS = ['sm', 'md', 'lg', 'xl'] as const;
@@ -1,4 +1,4 @@
1
1
  import { ElementType } from 'react';
2
- import { LismComponentProps } from '../../Lism';
3
- import { MediaAllowedTag } from '../../../lib/types/allowedTags';
2
+ import { LismComponentProps } from '../Lism';
3
+ import { MediaAllowedTag } from '../../lib/types/allowedTags';
4
4
  export default function Media<T extends MediaAllowedTag | Exclude<ElementType, string> = 'img'>({ as, ...props }: LismComponentProps<T>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import o from "../../Lism/index.js";
2
+ import o from "../Lism/index.js";
3
3
  function e({ as: r, ...i }) {
4
4
  return /* @__PURE__ */ m(o, { as: r ?? "img", ...i });
5
5
  }
@@ -2,7 +2,7 @@ import { default as presets } from './presets';
2
2
  import { LismProps } from '../../../lib/getLismProps';
3
3
  import { ElementType } from 'react';
4
4
  export type PresetIconName = keyof typeof presets;
5
- interface IconObject {
5
+ export interface IconObject {
6
6
  as: ElementType;
7
7
  [key: string]: unknown;
8
8
  }
@@ -1,2 +1,2 @@
1
1
  export { default as Icon } from './Icon';
2
- export type { PresetIconName } from './getProps';
2
+ export type { PresetIconName, IconProps, IconObject } from './getProps';
@@ -1,5 +1,4 @@
1
1
  export * from './Lism';
2
- export { default as HTML } from './HTML';
3
2
  /** @deprecated DummyText / DummyImage (@lism-css/ui) を使用してください */
4
3
  export * from './Dummy';
5
4
  export * from './Text';
@@ -8,24 +7,25 @@ export * from './Group';
8
7
  export * from './Heading';
9
8
  export * from './Link';
10
9
  export * from './List';
11
- export * from './Container';
12
- export * from './Wrapper';
13
- export * from './Layer';
14
- export * from './LinkBox';
15
- export * from './Box';
16
- export * from './Flow';
17
- export * from './Flex';
18
- export * from './Cluster';
19
- export * from './Stack';
20
- export * from './Grid';
21
- export * from './FluidCols';
22
- export * from './SwitchCols';
23
- export * from './SideMain';
24
- export * from './Center';
25
- export * from './Columns';
26
- export * from './Frame';
10
+ export * from './Media';
11
+ export * from './layout/Box';
12
+ export * from './layout/Center';
13
+ export * from './layout/Cluster';
14
+ export * from './layout/Columns';
15
+ export * from './layout/Flex';
16
+ export * from './layout/Flow';
17
+ export * from './layout/FluidCols';
18
+ export * from './layout/Frame';
19
+ export * from './layout/Grid';
20
+ export * from './layout/SideMain';
21
+ export * from './layout/Stack';
22
+ export * from './layout/SwitchCols';
23
+ export * from './layout/TileGrid';
24
+ export * from './state/Container';
25
+ export * from './state/Layer';
26
+ export * from './state/BoxLink';
27
+ export * from './state/Wrapper';
27
28
  export * from './atomic/Decorator';
28
29
  export * from './atomic/Divider';
29
30
  export * from './atomic/Icon';
30
- export * from './atomic/Media';
31
31
  export * from './atomic/Spacer';
@@ -1,64 +1,64 @@
1
- import { default as o } from "./HTML/index.js";
2
- import { default as t } from "./Box/index.js";
3
- import { default as l } from "./Center/index.js";
4
- import { default as d } from "./Cluster/index.js";
5
- import { default as u } from "./Columns/index.js";
6
- import { default as x } from "./Container/index.js";
1
+ import { default as o } from "./layout/Box/index.js";
2
+ import { default as t } from "./state/BoxLink/index.js";
3
+ import { default as l } from "./layout/Center/index.js";
4
+ import { default as s } from "./layout/Cluster/index.js";
5
+ import { default as u } from "./layout/Columns/index.js";
6
+ import { default as x } from "./state/Container/index.js";
7
7
  import { default as n } from "./atomic/Decorator/index.js";
8
- import { default as C } from "./atomic/Divider/index.js";
8
+ import { default as L } from "./atomic/Divider/index.js";
9
9
  import { default as F } from "./Dummy/index.js";
10
- import { default as k } from "./Flex/index.js";
11
- import { default as I } from "./Flow/index.js";
12
- import { default as w } from "./FluidCols/index.js";
13
- import { default as B } from "./Frame/index.js";
14
- import { default as H } from "./Grid/index.js";
15
- import { default as g } from "./Group/index.js";
16
- import { default as v } from "./Heading/index.js";
10
+ import { default as k } from "./layout/Flex/index.js";
11
+ import { default as G } from "./layout/Flow/index.js";
12
+ import { default as w } from "./layout/FluidCols/index.js";
13
+ import { default as B } from "./layout/Frame/index.js";
14
+ import { default as T } from "./layout/Grid/index.js";
15
+ import { default as h } from "./Group/index.js";
16
+ import { default as H } from "./Heading/index.js";
17
17
  import { default as b } from "./atomic/Icon/index.js";
18
18
  import { default as q } from "./Inline/index.js";
19
- import { default as A } from "./Layer/index.js";
19
+ import { default as A } from "./state/Layer/index.js";
20
20
  import { default as J } from "./Link/index.js";
21
- import { default as N } from "./LinkBox/index.js";
22
- import { default as P } from "./Lism/index.js";
23
- import { default as R } from "./List/index.js";
24
- import { default as V } from "./List/ListItem.js";
25
- import { default as Y } from "./atomic/Media/index.js";
26
- import { default as _ } from "./SideMain/index.js";
27
- import { default as ee } from "./atomic/Spacer/index.js";
28
- import { default as oe } from "./Stack/index.js";
29
- import { default as te } from "./SwitchCols/index.js";
30
- import { default as le } from "./Text/index.js";
31
- import { default as de } from "./Wrapper/index.js";
21
+ import { default as N } from "./Lism/index.js";
22
+ import { default as P } from "./List/index.js";
23
+ import { default as R } from "./List/ListItem.js";
24
+ import { default as V } from "./Media/index.js";
25
+ import { default as Y } from "./layout/SideMain/index.js";
26
+ import { default as _ } from "./atomic/Spacer/index.js";
27
+ import { default as ee } from "./layout/Stack/index.js";
28
+ import { default as oe } from "./layout/SwitchCols/index.js";
29
+ import { default as te } from "./Text/index.js";
30
+ import { default as le } from "./layout/TileGrid/index.js";
31
+ import { default as se } from "./state/Wrapper/index.js";
32
32
  export {
33
- t as Box,
33
+ o as Box,
34
+ t as BoxLink,
34
35
  l as Center,
35
- d as Cluster,
36
+ s as Cluster,
36
37
  u as Columns,
37
38
  x as Container,
38
39
  n as Decorator,
39
- C as Divider,
40
+ L as Divider,
40
41
  F as Dummy,
41
42
  k as Flex,
42
- I as Flow,
43
+ G as Flow,
43
44
  w as FluidCols,
44
45
  B as Frame,
45
- H as Grid,
46
- g as Group,
47
- o as HTML,
48
- v as Heading,
46
+ T as Grid,
47
+ h as Group,
48
+ H as Heading,
49
49
  b as Icon,
50
50
  q as Inline,
51
51
  A as Layer,
52
52
  J as Link,
53
- N as LinkBox,
54
- P as Lism,
55
- R as List,
56
- V as ListItem,
57
- Y as Media,
58
- _ as SideMain,
59
- ee as Spacer,
60
- oe as Stack,
61
- te as SwitchCols,
62
- le as Text,
63
- de as Wrapper
53
+ N as Lism,
54
+ P as List,
55
+ R as ListItem,
56
+ V as Media,
57
+ Y as SideMain,
58
+ _ as Spacer,
59
+ ee as Stack,
60
+ oe as SwitchCols,
61
+ te as Text,
62
+ le as TileGrid,
63
+ se as Wrapper
64
64
  };
@@ -1,4 +1,4 @@
1
1
  import { ElementType } from 'react';
2
- import { LayoutComponentProps } from '../Lism';
3
- import { BoxProps } from '../../lib/types/LayoutProps';
2
+ import { LayoutComponentProps } from '../../Lism';
3
+ import { BoxProps } from '../../../lib/types/LayoutProps';
4
4
  export default function Box<T extends ElementType = 'div'>(props: LayoutComponentProps<T, BoxProps>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import t from "../Lism/index.js";
2
+ import t from "../../Lism/index.js";
3
3
  function i(o) {
4
4
  return /* @__PURE__ */ r(t, { layout: "box", ...o });
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import { ElementType } from 'react';
2
- import { LayoutComponentProps } from '../Lism';
3
- import { CenterProps } from '../../lib/types/LayoutProps';
2
+ import { LayoutComponentProps } from '../../Lism';
3
+ import { CenterProps } from '../../../lib/types/LayoutProps';
4
4
  export default function Center<T extends ElementType = 'div'>(props: LayoutComponentProps<T, CenterProps>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import e from "../Lism/index.js";
2
+ import e from "../../Lism/index.js";
3
3
  function n(r) {
4
4
  return /* @__PURE__ */ t(e, { layout: "center", ...r });
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import { ElementType } from 'react';
2
- import { LayoutComponentProps } from '../Lism';
3
- import { ClusterProps } from '../../lib/types/LayoutProps';
2
+ import { LayoutComponentProps } from '../../Lism';
3
+ import { ClusterProps } from '../../../lib/types/LayoutProps';
4
4
  export default function Cluster<T extends ElementType = 'div'>(props: LayoutComponentProps<T, ClusterProps>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import o from "../Lism/index.js";
2
+ import o from "../../Lism/index.js";
3
3
  function m(r) {
4
4
  return /* @__PURE__ */ t(o, { layout: "cluster", ...r });
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import { ElementType } from 'react';
2
- import { LayoutComponentProps } from '../Lism';
3
- import { ColumnsProps } from '../../lib/types/LayoutProps';
2
+ import { LayoutComponentProps } from '../../Lism';
3
+ import { ColumnsProps } from '../../../lib/types/LayoutProps';
4
4
  export default function Columns<T extends ElementType = 'div'>(props: LayoutComponentProps<T, ColumnsProps>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import r from "../Lism/index.js";
2
+ import r from "../../Lism/index.js";
3
3
  function n(o) {
4
4
  return /* @__PURE__ */ m(r, { layout: "columns", ...o });
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import { ElementType } from 'react';
2
- import { LayoutComponentProps } from '../Lism';
3
- import { FlexProps } from '../../lib/types/LayoutProps';
2
+ import { LayoutComponentProps } from '../../Lism';
3
+ import { FlexProps } from '../../../lib/types/LayoutProps';
4
4
  export default function Flex<T extends ElementType = 'div'>(props: LayoutComponentProps<T, FlexProps>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import t from "../Lism/index.js";
2
+ import t from "../../Lism/index.js";
3
3
  function m(o) {
4
4
  return /* @__PURE__ */ r(t, { layout: "flex", ...o });
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import { ElementType } from 'react';
2
- import { LayoutComponentProps } from '../Lism';
3
- import { FlowLayoutProps } from '../../lib/types/LayoutProps';
2
+ import { LayoutComponentProps } from '../../Lism';
3
+ import { FlowLayoutProps } from '../../../lib/types/LayoutProps';
4
4
  export default function Flow<T extends ElementType = 'div'>(props: LayoutComponentProps<T, FlowLayoutProps>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import t from "../Lism/index.js";
2
+ import t from "../../Lism/index.js";
3
3
  function i(o) {
4
4
  return /* @__PURE__ */ r(t, { layout: "flow", ...o });
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import { ElementType } from 'react';
2
- import { LayoutComponentProps } from '../Lism';
3
- import { FluidColsProps } from '../../lib/types/LayoutProps';
2
+ import { LayoutComponentProps } from '../../Lism';
3
+ import { FluidColsProps } from '../../../lib/types/LayoutProps';
4
4
  export default function FluidCols<T extends ElementType = 'div'>(props: LayoutComponentProps<T, FluidColsProps>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import t from "../Lism/index.js";
2
+ import t from "../../Lism/index.js";
3
3
  function u(o) {
4
4
  return /* @__PURE__ */ r(t, { layout: "fluidCols", ...o });
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import { ElementType } from 'react';
2
- import { LayoutComponentProps } from '../Lism';
3
- import { FrameProps } from '../../lib/types/LayoutProps';
2
+ import { LayoutComponentProps } from '../../Lism';
3
+ import { FrameProps } from '../../../lib/types/LayoutProps';
4
4
  export default function Frame<T extends ElementType = 'div'>(props: LayoutComponentProps<T, FrameProps>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import o from "../Lism/index.js";
2
+ import o from "../../Lism/index.js";
3
3
  function e(r) {
4
4
  return /* @__PURE__ */ m(o, { layout: "frame", ...r });
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import { ElementType } from 'react';
2
- import { LayoutComponentProps } from '../Lism';
3
- import { GridLayoutProps } from '../../lib/types/LayoutProps';
2
+ import { LayoutComponentProps } from '../../Lism';
3
+ import { GridLayoutProps } from '../../../lib/types/LayoutProps';
4
4
  export default function Grid<T extends ElementType = 'div'>(props: LayoutComponentProps<T, GridLayoutProps>): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import t from "../Lism/index.js";
2
+ import t from "../../Lism/index.js";
3
3
  function f(r) {
4
4
  return /* @__PURE__ */ o(t, { layout: "grid", ...r });
5
5
  }