lism-css 0.3.5 → 0.5.1

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 (254) hide show
  1. package/README.md +2 -2
  2. package/bin/build-config.js +157 -0
  3. package/bin/build-css.cjs +92 -0
  4. package/bin/build-css.js +90 -0
  5. package/bin/cli.mjs +69 -0
  6. package/bin/script-build-css.js +6 -0
  7. package/config/__prop_list.js +44 -0
  8. package/config/__props.scss +25 -0
  9. package/config/default-config.js +9 -0
  10. package/config/defaults/__props-memo.js +45 -0
  11. package/config/defaults/props.js +370 -0
  12. package/config/defaults/states.js +42 -0
  13. package/config/defaults/tokens.js +26 -0
  14. package/config/helper/getSvgUrl.js +28 -0
  15. package/config/helper/minifyHtml.js +22 -0
  16. package/config/helper.js +67 -0
  17. package/config/index.js +15 -0
  18. package/config.js +2 -0
  19. package/dist/components/Accordion/AccIcon.js +1 -1
  20. package/dist/components/Accordion/getProps.js +15 -17
  21. package/dist/components/Accordion/index.js +4 -4
  22. package/dist/components/Accordion/index2.js +28 -23
  23. package/dist/components/Accordion/setAccordion.js +11 -11
  24. package/dist/components/Box/index.js +5 -6
  25. package/dist/components/Center/index.js +2 -2
  26. package/dist/components/Cluster/index.js +8 -0
  27. package/dist/components/Columns/index.js +5 -6
  28. package/dist/components/Container/index.js +3 -3
  29. package/dist/components/Dummy/index.js +9 -14
  30. package/dist/components/Dummy/texts.js +6 -6
  31. package/dist/components/Flex/index.js +5 -6
  32. package/dist/components/Flow/index.js +8 -0
  33. package/dist/components/Frame/index.js +5 -6
  34. package/dist/components/Grid/index.js +5 -6
  35. package/dist/components/HTML/index.js +5 -0
  36. package/dist/components/HTML/index2.js +44 -0
  37. package/dist/components/Layer/index.js +5 -5
  38. package/dist/components/LinkBox/index.js +6 -6
  39. package/dist/components/Lism/Link.js +5 -5
  40. package/dist/components/Lism/Text.js +4 -4
  41. package/dist/components/Lism/index.js +5 -4
  42. package/dist/components/Modal/Body.js +5 -5
  43. package/dist/components/Modal/CloseBtn.js +13 -0
  44. package/dist/components/Modal/Inner.js +5 -5
  45. package/dist/components/Modal/OpenBtn.js +9 -0
  46. package/dist/components/Modal/getProps.js +12 -13
  47. package/dist/components/Modal/index.js +4 -5
  48. package/dist/components/Modal/index2.js +12 -12
  49. package/dist/components/Stack/index.js +5 -5
  50. package/dist/components/Tabs/Tab.js +7 -9
  51. package/dist/components/Tabs/TabList.js +4 -4
  52. package/dist/components/Tabs/TabPanel.js +6 -7
  53. package/dist/components/Tabs/getProps.js +1 -8
  54. package/dist/components/Tabs/index2.js +14 -23
  55. package/dist/components/WithSide/index.js +4 -5
  56. package/dist/components/atomic/Decorator/getProps.js +13 -0
  57. package/dist/components/{Decorator → atomic/Decorator}/index.js +1 -1
  58. package/dist/components/atomic/Divider/getProps.js +10 -0
  59. package/dist/components/atomic/Divider/index.js +9 -0
  60. package/dist/components/atomic/Icon/getProps.js +59 -0
  61. package/dist/components/{Icon → atomic/Icon}/index.js +1 -1
  62. package/dist/components/atomic/Media/getProps.js +9 -0
  63. package/dist/components/atomic/Media/index.js +9 -0
  64. package/dist/components/atomic/Spacer/getProps.js +21 -0
  65. package/dist/components/atomic/Spacer/index.js +9 -0
  66. package/dist/components/getFilterProps.js +8 -18
  67. package/dist/components/getLayoutProps.js +27 -0
  68. package/dist/config/default-config.js +11 -0
  69. package/dist/config/defaults/props.js +342 -0
  70. package/dist/config/defaults/states.js +36 -0
  71. package/dist/config/defaults/tokens.js +29 -0
  72. package/dist/config/helper/getSvgUrl.js +4 -0
  73. package/dist/config/helper.js +31 -0
  74. package/dist/config/index.js +11 -0
  75. package/dist/css/base.css +1 -0
  76. package/dist/css/main.css +1 -0
  77. package/dist/css/main_no_layer.css +1 -0
  78. package/dist/css/modules/atomic.css +1 -0
  79. package/dist/css/modules/dynamic.css +1 -0
  80. package/dist/css/modules/layout.css +1 -0
  81. package/dist/css/modules/state.css +1 -0
  82. package/dist/css/props.css +1 -0
  83. package/dist/css/reset.css +1 -0
  84. package/dist/css/utility.css +1 -0
  85. package/dist/index.js +50 -50
  86. package/dist/lib/getBpData.js +1 -1
  87. package/dist/lib/getLismProps.js +109 -177
  88. package/dist/lib/getMaybeCssVar.js +30 -54
  89. package/dist/lib/getMaybeTokenValue.js +26 -0
  90. package/dist/lib/getUtilKey.js +13 -0
  91. package/dist/lib/isPresetValue.js +3 -3
  92. package/dist/lib/isTokenValue.js +6 -5
  93. package/package.json +16 -3
  94. package/packages/astro/Accordion/AccBody.astro +5 -6
  95. package/packages/astro/Accordion/AccHeader.astro +4 -4
  96. package/packages/astro/Accordion/AccHeaderLabel.astro +12 -0
  97. package/packages/astro/Accordion/AccIcon.astro +1 -1
  98. package/packages/astro/Accordion/AccLabel.astro +1 -1
  99. package/packages/astro/Accordion/Accordion.astro +1 -1
  100. package/packages/astro/Accordion/index.js +2 -1
  101. package/packages/astro/Box/Box.astro +2 -3
  102. package/packages/astro/Center/Center.astro +2 -8
  103. package/packages/astro/Cluster/Cluster.astro +5 -0
  104. package/packages/astro/Cluster/index.js +1 -0
  105. package/packages/astro/Columns/Columns.astro +2 -8
  106. package/packages/astro/Container/Container.astro +3 -4
  107. package/packages/astro/Decorator/Decorator.astro +2 -2
  108. package/packages/astro/Divider/Divider.astro +3 -3
  109. package/packages/astro/Dummy/Dummy.astro +3 -2
  110. package/packages/astro/Flex/Flex.astro +1 -10
  111. package/packages/astro/Flex/index.js +0 -1
  112. package/packages/astro/Flow/Flow.astro +5 -0
  113. package/packages/astro/Flow/index.js +1 -0
  114. package/packages/astro/Frame/Frame.astro +1 -8
  115. package/packages/astro/Grid/Grid.astro +1 -9
  116. package/packages/astro/Grid/index.js +0 -1
  117. package/packages/astro/HTML/a.astro +5 -0
  118. package/packages/astro/HTML/button.astro +5 -0
  119. package/packages/astro/HTML/div.astro +5 -0
  120. package/packages/astro/HTML/h.astro +6 -0
  121. package/packages/astro/HTML/img.astro +5 -0
  122. package/packages/astro/HTML/index.js +12 -0
  123. package/packages/astro/HTML/li.astro +5 -0
  124. package/packages/astro/HTML/ol.astro +5 -0
  125. package/packages/astro/HTML/p.astro +5 -0
  126. package/packages/astro/HTML/span.astro +5 -0
  127. package/packages/astro/HTML/ul.astro +5 -0
  128. package/packages/astro/Icon/Icon.astro +3 -5
  129. package/packages/astro/Layer/Layer.astro +3 -10
  130. package/packages/astro/LinkBox/LinkBox.astro +4 -5
  131. package/packages/astro/Lism/Link.astro +2 -2
  132. package/packages/astro/Lism/Lism.astro +4 -3
  133. package/packages/astro/Lism/Text.astro +2 -2
  134. package/packages/astro/Lism/index.js +0 -1
  135. package/packages/astro/{Lism → Media}/Media.astro +1 -9
  136. package/packages/astro/Media/index.js +1 -0
  137. package/packages/astro/Modal/Body.astro +4 -5
  138. package/packages/astro/Modal/CloseBtn.astro +24 -0
  139. package/packages/astro/Modal/Inner.astro +4 -4
  140. package/packages/astro/Modal/Modal.astro +4 -5
  141. package/packages/astro/Modal/OpenBtn.astro +14 -0
  142. package/packages/astro/Modal/index.js +3 -4
  143. package/packages/astro/OverlayLink/OverlayLink.astro +1 -1
  144. package/packages/astro/Spacer/Spacer.astro +3 -3
  145. package/packages/astro/Stack/Stack.astro +2 -4
  146. package/packages/astro/Tabs/Tab.astro +2 -11
  147. package/packages/astro/Tabs/TabList.astro +4 -4
  148. package/packages/astro/Tabs/TabPanel.astro +1 -1
  149. package/packages/astro/Tabs/Tabs.astro +6 -10
  150. package/packages/astro/Test/Test.astro +1 -1
  151. package/packages/astro/Test/TestItem.astro +1 -1
  152. package/packages/astro/WithSide/WithSide.astro +1 -8
  153. package/packages/astro/index.js +6 -2
  154. package/packages/types/index.d.ts +22 -26
  155. package/src/scss/{_props.scss → __props copy.scss } +146 -169
  156. package/src/scss/__props.scss +786 -0
  157. package/src/scss/_auto_output.scss +102 -76
  158. package/src/scss/_prop-config.scss +862 -0
  159. package/src/scss/_setting.scss +2 -3
  160. package/src/scss/_with_layer.scss +19 -14
  161. package/src/scss/base/_dom.scss +35 -26
  162. package/src/scss/base/_property.scss +4 -16
  163. package/src/scss/base/_tokens.scss +105 -116
  164. package/src/scss/base/index.scss +18 -42
  165. package/src/scss/base/set/_hover.scss +13 -0
  166. package/src/scss/base/set/_innerRs.scss +3 -0
  167. package/src/scss/base/set/_mask.scss +6 -0
  168. package/src/scss/base/set/_plain.scss +14 -0
  169. package/src/scss/base/set/_shadow.scss +27 -0
  170. package/src/scss/base/set/_snap.scss +8 -0
  171. package/src/scss/base/set/_transition.scss +20 -0
  172. package/src/scss/main.scss +0 -1
  173. package/src/scss/main_no_layer.scss +6 -14
  174. package/src/scss/modules/atomic/_divider.scss +6 -0
  175. package/src/scss/{layout → modules/atomic}/_icon.scss +3 -9
  176. package/src/scss/modules/atomic/_media.scss +3 -0
  177. package/src/scss/{layout → modules/atomic}/_spacer.scss +1 -1
  178. package/src/scss/modules/atomic/index.scss +6 -0
  179. package/src/scss/{dynamic → modules/dynamic}/_accordion.scss +24 -24
  180. package/src/scss/modules/dynamic/_modal.scss +33 -0
  181. package/src/scss/{dynamic → modules/dynamic}/_tabs.scss +4 -5
  182. package/src/scss/{layout/_flex.scss → modules/layout/_cluster.scss} +1 -4
  183. package/src/scss/modules/layout/_columns.scss +9 -0
  184. package/src/scss/modules/layout/_flex.scss +3 -0
  185. package/src/scss/modules/layout/_flow.scss +46 -0
  186. package/src/scss/{layout → modules/layout}/_frame.scss +1 -1
  187. package/src/scss/modules/layout/_grid.scss +35 -0
  188. package/src/scss/{layout → modules/layout}/_withSide.scss +3 -3
  189. package/src/scss/{layout → modules/layout}/index.scss +4 -6
  190. package/src/scss/modules/state/_container.scss +37 -0
  191. package/src/scss/{state → modules/state}/_linkbox.scss +1 -1
  192. package/src/scss/modules/state/index.scss +5 -0
  193. package/src/scss/props/_border.scss +25 -40
  194. package/src/scss/props/_hover.scss +12 -23
  195. package/src/scss/props/_size.scss +17 -0
  196. package/src/scss/props/index.scss +1 -2
  197. package/src/scss/reset.scss +1 -1
  198. package/src/scss/utility/_cbox.scss +5 -4
  199. package/src/scss/utility/_hidden.scss +14 -0
  200. package/src/scss/utility/_itemDivider.scss +11 -0
  201. package/src/scss/utility/_linkExpand.scss +10 -0
  202. package/src/scss/utility/_trimHL.scss +29 -13
  203. package/src/scss/utility/index.scss +3 -45
  204. package/dist/components/Box/getProps.js +0 -7
  205. package/dist/components/Columns/getProps.js +0 -6
  206. package/dist/components/Decorator/getProps.js +0 -17
  207. package/dist/components/Divider/getProps.js +0 -11
  208. package/dist/components/Divider/index.js +0 -9
  209. package/dist/components/Flex/Cluster.js +0 -8
  210. package/dist/components/Flex/FlexItem.js +0 -8
  211. package/dist/components/Flex/getProps.js +0 -13
  212. package/dist/components/Frame/getProps.js +0 -7
  213. package/dist/components/Grid/GridItem.js +0 -9
  214. package/dist/components/Grid/getProps.js +0 -28
  215. package/dist/components/Icon/getProps.js +0 -60
  216. package/dist/components/Layer/getProps.js +0 -9
  217. package/dist/components/Lism/Media.js +0 -9
  218. package/dist/components/Modal/CloseIconBtn.js +0 -19
  219. package/dist/components/Modal/Footer.js +0 -9
  220. package/dist/components/Modal/Header.js +0 -9
  221. package/dist/components/Spacer/getProps.js +0 -21
  222. package/dist/components/Spacer/index.js +0 -9
  223. package/dist/components/WithSide/getProps.js +0 -14
  224. package/dist/components/getInsetProps.js +0 -8
  225. package/dist/components/getMediaProps.js +0 -7
  226. package/dist/components/getTransformProps.js +0 -8
  227. package/dist/config/prop_list.js +0 -386
  228. package/dist/config/tokens.js +0 -43
  229. package/dist/config.js +0 -9
  230. package/dist/lib/getMaybeUtilValue.js +0 -6
  231. package/packages/astro/Flex/Cluster.astro +0 -11
  232. package/packages/astro/Grid/GridItem.astro +0 -14
  233. package/packages/astro/Modal/CloseIconBtn.astro +0 -24
  234. package/packages/astro/Modal/Footer.astro +0 -14
  235. package/packages/astro/Modal/Header.astro +0 -14
  236. package/src/scss/dynamic/_modal.scss +0 -30
  237. package/src/scss/layout/_columns.scss +0 -13
  238. package/src/scss/layout/_divider.scss +0 -3
  239. package/src/scss/layout/_grid.scss +0 -9
  240. package/src/scss/props/__memo.scss +0 -15
  241. package/src/scss/props/_color.scss +0 -7
  242. package/src/scss/props/_transition.scss +0 -20
  243. package/src/scss/state/_container.scss +0 -34
  244. package/src/scss/state/_flow.scss +0 -45
  245. package/src/scss/state/_size.scss +0 -22
  246. package/src/scss/state/index.scss +0 -12
  247. /package/dist/components/{Icon → atomic/Icon}/SVG.js +0 -0
  248. /package/dist/components/{Icon → atomic/Icon}/presets.js +0 -0
  249. /package/packages/astro/{helper/index.js → helper.js} +0 -0
  250. /package/src/scss/{dynamic → modules/dynamic}/index.scss +0 -0
  251. /package/src/scss/{layout → modules/layout}/_center.scss +0 -0
  252. /package/src/scss/{layout → modules/layout}/_stack.scss +0 -0
  253. /package/src/scss/{state → modules/state}/_gutter.scss +0 -0
  254. /package/src/scss/{state → modules/state}/_layer.scss +0 -0
@@ -1,17 +1,16 @@
1
1
  ---
2
- import type { LismProps } from '../types';
2
+ import type { LismProps } from '../../types';
3
3
  import { getProps } from '../../../dist/components/Modal/getProps';
4
4
  import { Lism } from '../Lism';
5
5
 
6
6
  // Propsの定義
7
7
  interface Props extends LismProps {}
8
- const { layout, ...props } = Astro.props || {};
9
- const Layout = layout || Lism;
8
+ const props = Astro.props || {};
10
9
  ---
11
10
 
12
- <Layout tag='dialog' {...getProps(props)}>
11
+ <Lism {...getProps(props)}>
13
12
  <slot />
14
- </Layout>
13
+ </Lism>
15
14
 
16
15
  <script>
17
16
  import setModal from '../../../dist/components/Modal/setModal';
@@ -0,0 +1,14 @@
1
+ ---
2
+ import type { LismProps } from '../../types';
3
+ import { defaultProps } from '../../../dist/components/Modal/getProps';
4
+ import { Lism } from '../Lism';
5
+
6
+ // Propsの定義
7
+ interface Props extends LismProps {}
8
+ const { modalId = '', ...props } = Astro.props || {};
9
+ const btnProps = { ...defaultProps.openBtn, ...props };
10
+ ---
11
+
12
+ <Lism data-modal-open={modalId} {...btnProps}>
13
+ <slot />
14
+ </Lism>
@@ -1,8 +1,7 @@
1
1
  import Root from './Modal.astro';
2
2
  import Inner from './Inner.astro';
3
3
  import Body from './Body.astro';
4
- import CloseIconBtn from './CloseIconBtn.astro';
5
- import Header from './Header.astro';
6
- import Footer from './Footer.astro';
4
+ import CloseBtn from './CloseBtn.astro';
5
+ import OpenBtn from './OpenBtn.astro';
7
6
 
8
- export default { Root, Inner, Body, CloseIconBtn, Header, Footer };
7
+ export default { Root, Inner, Body, CloseBtn, OpenBtn };
@@ -1,5 +1,5 @@
1
1
  ---
2
- import type { LismProps } from '../types';
2
+ import type { LismProps } from '../../types';
3
3
  import { Lism } from '../Lism';
4
4
  import getOverlayLinkProps from '../../../dist/components/OverlayLink/getProps';
5
5
 
@@ -1,11 +1,11 @@
1
1
  ---
2
- import type { LismProps } from '../types';
2
+ import type { LismProps } from '../../types';
3
3
  import { Lism } from '../Lism';
4
- import getProps from '../../../dist/components/Spacer/getProps';
4
+ import getProps from '../../../dist/components/atomic/Spacer/getProps';
5
5
 
6
6
  // Propsの定義
7
7
  interface Props extends LismProps {}
8
8
  const props = Astro.props || {};
9
9
  ---
10
10
 
11
- <Lism skipState {...getProps(props)} />
11
+ <Lism {...getProps(props)} />
@@ -1,7 +1,5 @@
1
1
  ---
2
- import Flex from '../Flex/Flex.astro';
2
+ import { Lism } from '../Lism';
3
3
  ---
4
4
 
5
- <Flex _flex='stack' {...Astro.props}>
6
- <slot />
7
- </Flex>
5
+ <Lism layout='stack' {...Astro.props}><slot /></Lism>
@@ -1,5 +1,5 @@
1
1
  ---
2
- import type { LismProps } from '../types';
2
+ import type { LismProps } from '../../types';
3
3
  import { Lism } from '../Lism';
4
4
 
5
5
  export interface Props extends LismProps {
@@ -12,15 +12,6 @@ const { tabId = 'tab', index = 0, isActive, ...props } = Astro.props;
12
12
  const controlId = `${tabId}-${index}`;
13
13
  ---
14
14
 
15
- <Lism
16
- tag='button'
17
- lismClass='d--tabs_tab'
18
- className='re--style'
19
- role='tab'
20
- aria-controls={controlId}
21
- aria-selected={isActive ? 'true' : 'false'}
22
- skipState
23
- {...props}
24
- >
15
+ <Lism tag='button' lismClass='d--tabs_tab' setPlain role='tab' aria-controls={controlId} aria-selected={isActive ? 'true' : 'false'} {...props}>
25
16
  <slot />
26
17
  </Lism>
@@ -1,8 +1,8 @@
1
1
  ---
2
- // import type { LismProps } from '../types';
3
- import { Flex } from '../Flex';
2
+ // import type { LismProps } from '../../types';
3
+ import { Lism } from '../Lism';
4
4
  ---
5
5
 
6
- <Flex lismClass='d--tabs_list' role='tablist' {...Astro.props}>
6
+ <Lism lismClass='d--tabs_list' role='tablist' {...Astro.props}>
7
7
  <slot />
8
- </Flex>
8
+ </Lism>
@@ -1,5 +1,5 @@
1
1
  ---
2
- import type { LismProps } from '../types';
2
+ import type { LismProps } from '../../types';
3
3
  import { Lism } from '../Lism';
4
4
 
5
5
  export interface Props extends LismProps {
@@ -1,10 +1,10 @@
1
1
  ---
2
- import type { LismProps } from '../types';
3
- import { Grid } from '../Grid';
2
+ import type { LismProps } from '../../types';
3
+ import { Lism } from '../Lism';
4
4
  // import Tab from './Tab.astro';
5
5
  // import TabPanel from './TabPanel.astro';
6
6
  import TabList from './TabList.astro';
7
- import { uuidv4 } from '../helper/index.js';
7
+ import { uuidv4 } from '../helper.js';
8
8
  import transformTabitems from './transformTabitems.js';
9
9
  import getTabsProps from '../../../dist/components/Tabs/getProps';
10
10
 
@@ -23,16 +23,12 @@ const { defaultIndex = 1, tabId = '', listProps = {}, ...props } = Astro.props |
23
23
  const theTabID = tabId ? tabId : uuidv4();
24
24
 
25
25
  // 子要素の方から順番に処理されていくので、文字列処理でデータを抽出
26
- const { btns, panels } = transformTabitems(
27
- await Astro.slots.render('default'),
28
- theTabID,
29
- defaultIndex
30
- );
26
+ const { btns, panels } = transformTabitems(await Astro.slots.render('default'), theTabID, defaultIndex);
31
27
 
32
28
  const hasItems = btns.length > 0;
33
29
  ---
34
30
 
35
- <Grid {...getTabsProps(props)}>
31
+ <Lism {...getTabsProps(props)}>
36
32
  {
37
33
  btns && (
38
34
  <TabList {...listProps}>
@@ -48,7 +44,7 @@ const hasItems = btns.length > 0;
48
44
  })
49
45
  }
50
46
  {!hasItems && <slot />}
51
- </Grid>
47
+ </Lism>
52
48
 
53
49
  <script>
54
50
  // import setEvent from './setEvent';
@@ -1,5 +1,5 @@
1
1
  ---
2
- import type { LismProps } from '../types';
2
+ import type { LismProps } from '../../types';
3
3
  import { Lism } from '../Lism';
4
4
 
5
5
  // Propsの定義
@@ -1,5 +1,5 @@
1
1
  ---
2
- import type { LismProps } from '../types';
2
+ import type { LismProps } from '../../types';
3
3
  import { Lism } from '../Lism';
4
4
 
5
5
  // Propsの定義
@@ -1,12 +1,5 @@
1
1
  ---
2
- import type { LismProps } from '../types';
3
2
  import { Lism } from '../Lism';
4
- import { getWithSideProps } from '../../../dist/components/WithSide/getProps';
5
-
6
- // Propsの定義
7
- interface Props extends LismProps {}
8
-
9
- const props = Astro.props || {};
10
3
  ---
11
4
 
12
- <Lism {...getWithSideProps(props)}><slot /></Lism>
5
+ <Lism layout='withSide' {...Astro.props}><slot /></Lism>
@@ -3,11 +3,14 @@
3
3
  */
4
4
 
5
5
  // export { default as Lism } from './Lism/Lism.astro';
6
- // export { Lism, Text, Media, Link } from './Lism';
6
+ // export { Lism, HTML, Media, Link } from './Lism';
7
7
  export * from './Lism';
8
+ export { default as HTML } from './HTML';
8
9
  export * from './Dummy';
9
10
  export * from './Box';
11
+ export * from './Flow';
10
12
  export * from './Flex';
13
+ export * from './Cluster';
11
14
  export * from './Stack';
12
15
  export * from './Grid';
13
16
  export * from './Columns';
@@ -19,10 +22,11 @@ export * from './Container';
19
22
  export * from './Layer';
20
23
  export * from './LinkBox';
21
24
 
22
- export * from './Spacer';
23
25
  export * from './Decorator';
24
26
  export * from './Divider';
25
27
  export * from './Icon';
28
+ export * from './Media';
29
+ export * from './Spacer';
26
30
 
27
31
  export { default as Accordion } from './Accordion';
28
32
  export { default as Modal } from './Modal';
@@ -21,10 +21,10 @@ export interface LismBaseProps {
21
21
  pr?: ResponsiveValue<string | number>;
22
22
  pt?: ResponsiveValue<string | number>;
23
23
  pb?: ResponsiveValue<string | number>;
24
- pis?: ResponsiveValue<string | number>;
25
- pie?: ResponsiveValue<string | number>;
26
- pbs?: ResponsiveValue<string | number>;
27
- pbe?: ResponsiveValue<string | number>;
24
+ 'px-s'?: ResponsiveValue<string | number>;
25
+ 'px-e'?: ResponsiveValue<string | number>;
26
+ 'py-s'?: ResponsiveValue<string | number>;
27
+ 'py-e'?: ResponsiveValue<string | number>;
28
28
 
29
29
  m?: ResponsiveValue<string | number>;
30
30
  mx?: ResponsiveValue<string | number>;
@@ -33,18 +33,18 @@ export interface LismBaseProps {
33
33
  mr?: ResponsiveValue<string | number>;
34
34
  mt?: ResponsiveValue<string | number>;
35
35
  mb?: ResponsiveValue<string | number>;
36
- mis?: ResponsiveValue<string | number>;
37
- mie?: ResponsiveValue<string | number>;
38
- mbs?: ResponsiveValue<string | number>;
39
- mbe?: ResponsiveValue<string | number>;
36
+ 'mx-s'?: ResponsiveValue<string | number>;
37
+ 'mx-e'?: ResponsiveValue<string | number>;
38
+ 'my-s'?: ResponsiveValue<string | number>;
39
+ 'my-e'?: ResponsiveValue<string | number>;
40
40
 
41
41
  // Sizing
42
42
  w?: ResponsiveValue<string | number>;
43
43
  h?: ResponsiveValue<string | number>;
44
- minW?: ResponsiveValue<string | number>;
45
- minH?: ResponsiveValue<string | number>;
46
- maxW?: ResponsiveValue<string | number>;
47
- maxH?: ResponsiveValue<string | number>;
44
+ 'min-w'?: ResponsiveValue<string | number>;
45
+ 'min-h'?: ResponsiveValue<string | number>;
46
+ 'max-w'?: ResponsiveValue<string | number>;
47
+ 'max-h'?: ResponsiveValue<string | number>;
48
48
 
49
49
  // Display
50
50
  d?: ResponsiveValue<string>;
@@ -59,8 +59,8 @@ export interface LismBaseProps {
59
59
  // Flexbox & Grid
60
60
  gap?: ResponsiveValue<string | number>;
61
61
  g?: ResponsiveValue<string | number>;
62
- gx?: ResponsiveValue<string | number>;
63
- gy?: ResponsiveValue<string | number>;
62
+ 'g-x'?: ResponsiveValue<string | number>;
63
+ 'g-y'?: ResponsiveValue<string | number>;
64
64
  ai?: ResponsiveValue<string>;
65
65
  jc?: ResponsiveValue<string>;
66
66
  ac?: ResponsiveValue<string>;
@@ -140,19 +140,15 @@ export interface LismBaseProps {
140
140
 
141
141
  // Context props
142
142
  css?: Record<string, any>;
143
- passVars?: string | string[];
143
+ // passVars?: string | string[];
144
144
 
145
145
  // Utility classes
146
146
  _?: string | string[];
147
147
 
148
148
  // State classes
149
- skipState?: boolean;
150
- isFlow?: boolean | string;
149
+ flow?: boolean | string;
151
150
  hasGutter?: boolean | string;
152
151
  isContainer?: boolean | string;
153
- isOverwide?: boolean;
154
- isFullwide?: boolean;
155
- isWide?: boolean;
156
152
  isLayer?: boolean;
157
153
  isLinkBox?: boolean;
158
154
 
@@ -172,7 +168,6 @@ export interface LismProps extends LismBaseProps {
172
168
  children?: React.ReactNode;
173
169
  variant?: string;
174
170
  lismClass?: string;
175
- lismState?: string[];
176
171
  forwardedRef?: React.Ref<any>;
177
172
  }
178
173
 
@@ -184,9 +179,7 @@ export interface FlexProps extends LismProps {
184
179
  fxd?: ResponsiveValue<string>;
185
180
  fxf?: ResponsiveValue<string>;
186
181
  }
187
- export interface FlexItemProps extends LismProps {
188
- layout?: React.ElementType;
189
- }
182
+
190
183
  export interface StackProps extends LismProps {}
191
184
  export interface GridProps extends LismProps {
192
185
  _grid?: string;
@@ -276,7 +269,7 @@ export interface AccordionProps extends LismProps {
276
269
  export interface AccordionHeaderProps extends FlexProps {}
277
270
  export interface AccordionLabelProps extends LismProps {}
278
271
  export interface AccordionBodyProps extends LismProps {
279
- isFlow?: boolean | string;
272
+ flow?: boolean | string;
280
273
  innerProps?: LismProps;
281
274
  }
282
275
 
@@ -300,7 +293,9 @@ export interface ModalProps extends LismProps {
300
293
 
301
294
  // Export components
302
295
  export const Lism: React.FC<LismProps>;
303
- export const Box: React.FC<BoxProps>;
296
+ export const HTML: React.FC<LismProps>;
297
+ export const Box: React.FC<LismProps>;
298
+ export const Flow: React.FC<LismProps>;
304
299
  export const Flex: React.FC<FlexProps>;
305
300
  export const FlexItem: React.FC<FlexItemProps>;
306
301
  export const Cluster: React.FC<FlexProps>;
@@ -337,6 +332,7 @@ export const Modal: React.FC<ModalProps>;
337
332
  // Re-export all as default
338
333
  export default {
339
334
  Lism,
335
+ HTML,
340
336
  Box,
341
337
  Flex,
342
338
  FlexItem,