lism-css 0.3.4 → 0.5.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 (253) 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/index.js +50 -50
  76. package/dist/lib/getBpData.js +1 -1
  77. package/dist/lib/getLismProps.js +109 -177
  78. package/dist/lib/getMaybeCssVar.js +30 -54
  79. package/dist/lib/getMaybeTokenValue.js +26 -0
  80. package/dist/lib/getUtilKey.js +13 -0
  81. package/dist/lib/isPresetValue.js +3 -3
  82. package/dist/lib/isTokenValue.js +6 -5
  83. package/package.json +16 -3
  84. package/packages/astro/Accordion/AccBody.astro +5 -6
  85. package/packages/astro/Accordion/AccHeader.astro +4 -4
  86. package/packages/astro/Accordion/AccHeaderLabel.astro +12 -0
  87. package/packages/astro/Accordion/AccIcon.astro +1 -1
  88. package/packages/astro/Accordion/AccLabel.astro +1 -1
  89. package/packages/astro/Accordion/Accordion.astro +1 -1
  90. package/packages/astro/Accordion/index.js +2 -1
  91. package/packages/astro/Box/Box.astro +2 -3
  92. package/packages/astro/Center/Center.astro +2 -8
  93. package/packages/astro/Cluster/Cluster.astro +5 -0
  94. package/packages/astro/Cluster/index.js +1 -0
  95. package/packages/astro/Columns/Columns.astro +2 -8
  96. package/packages/astro/Container/Container.astro +3 -4
  97. package/packages/astro/Decorator/Decorator.astro +2 -2
  98. package/packages/astro/Divider/Divider.astro +3 -3
  99. package/packages/astro/Dummy/Dummy.astro +3 -2
  100. package/packages/astro/Flex/Flex.astro +1 -10
  101. package/packages/astro/Flex/index.js +0 -1
  102. package/packages/astro/Flow/Flow.astro +5 -0
  103. package/packages/astro/Flow/index.js +1 -0
  104. package/packages/astro/Frame/Frame.astro +1 -8
  105. package/packages/astro/Grid/Grid.astro +1 -9
  106. package/packages/astro/Grid/index.js +0 -1
  107. package/packages/astro/HTML/a.astro +5 -0
  108. package/packages/astro/HTML/button.astro +5 -0
  109. package/packages/astro/HTML/div.astro +5 -0
  110. package/packages/astro/HTML/h.astro +6 -0
  111. package/packages/astro/HTML/img.astro +5 -0
  112. package/packages/astro/HTML/index.js +12 -0
  113. package/packages/astro/HTML/li.astro +5 -0
  114. package/packages/astro/HTML/ol.astro +5 -0
  115. package/packages/astro/HTML/p.astro +5 -0
  116. package/packages/astro/HTML/span.astro +5 -0
  117. package/packages/astro/HTML/ul.astro +5 -0
  118. package/packages/astro/Icon/Icon.astro +3 -5
  119. package/packages/astro/Layer/Layer.astro +3 -10
  120. package/packages/astro/LinkBox/LinkBox.astro +4 -5
  121. package/packages/astro/Lism/Link.astro +2 -2
  122. package/packages/astro/Lism/Lism.astro +4 -3
  123. package/packages/astro/Lism/Text.astro +2 -2
  124. package/packages/astro/Lism/index.js +0 -1
  125. package/packages/astro/{Lism → Media}/Media.astro +1 -9
  126. package/packages/astro/Media/index.js +1 -0
  127. package/packages/astro/Modal/Body.astro +4 -5
  128. package/packages/astro/Modal/CloseBtn.astro +24 -0
  129. package/packages/astro/Modal/Inner.astro +4 -4
  130. package/packages/astro/Modal/Modal.astro +4 -5
  131. package/packages/astro/Modal/OpenBtn.astro +14 -0
  132. package/packages/astro/Modal/index.js +3 -4
  133. package/packages/astro/OverlayLink/OverlayLink.astro +1 -1
  134. package/packages/astro/Spacer/Spacer.astro +3 -3
  135. package/packages/astro/Stack/Stack.astro +2 -4
  136. package/packages/astro/Tabs/Tab.astro +2 -11
  137. package/packages/astro/Tabs/TabList.astro +4 -4
  138. package/packages/astro/Tabs/TabPanel.astro +4 -4
  139. package/packages/astro/Tabs/Tabs.astro +6 -10
  140. package/packages/astro/Test/Test.astro +1 -1
  141. package/packages/astro/Test/TestItem.astro +1 -1
  142. package/packages/astro/WithSide/WithSide.astro +1 -8
  143. package/packages/astro/index.js +6 -2
  144. package/packages/types/index.d.ts +31 -38
  145. package/src/scss/{_props.scss → __props copy.scss } +146 -169
  146. package/src/scss/__props.scss +786 -0
  147. package/src/scss/_auto_output.scss +102 -76
  148. package/src/scss/_prop-config.scss +862 -0
  149. package/src/scss/_setting.scss +2 -3
  150. package/src/scss/_with_layer.scss +19 -14
  151. package/src/scss/base/_dom.scss +35 -26
  152. package/src/scss/base/_property.scss +4 -16
  153. package/src/scss/base/_tokens.scss +105 -116
  154. package/src/scss/base/index.scss +18 -42
  155. package/src/scss/base/set/_hover.scss +13 -0
  156. package/src/scss/base/set/_innerRs.scss +3 -0
  157. package/src/scss/base/set/_mask.scss +6 -0
  158. package/src/scss/base/set/_plain.scss +14 -0
  159. package/src/scss/base/set/_shadow.scss +27 -0
  160. package/src/scss/base/set/_snap.scss +8 -0
  161. package/src/scss/base/set/_transition.scss +20 -0
  162. package/src/scss/main.scss +0 -1
  163. package/src/scss/main_no_layer.scss +6 -14
  164. package/src/scss/modules/atomic/_divider.scss +6 -0
  165. package/src/scss/{layout → modules/atomic}/_icon.scss +3 -9
  166. package/src/scss/modules/atomic/_media.scss +3 -0
  167. package/src/scss/{layout → modules/atomic}/_spacer.scss +1 -1
  168. package/src/scss/modules/atomic/index.scss +6 -0
  169. package/src/scss/{dynamic → modules/dynamic}/_accordion.scss +24 -24
  170. package/src/scss/modules/dynamic/_modal.scss +33 -0
  171. package/src/scss/{dynamic → modules/dynamic}/_tabs.scss +4 -5
  172. package/src/scss/{layout/_flex.scss → modules/layout/_cluster.scss} +1 -4
  173. package/src/scss/modules/layout/_columns.scss +9 -0
  174. package/src/scss/modules/layout/_flex.scss +3 -0
  175. package/src/scss/modules/layout/_flow.scss +46 -0
  176. package/src/scss/{layout → modules/layout}/_frame.scss +1 -1
  177. package/src/scss/modules/layout/_grid.scss +35 -0
  178. package/src/scss/{layout → modules/layout}/_withSide.scss +3 -3
  179. package/src/scss/{layout → modules/layout}/index.scss +4 -6
  180. package/src/scss/modules/state/_container.scss +37 -0
  181. package/src/scss/{state → modules/state}/_linkbox.scss +1 -1
  182. package/src/scss/modules/state/index.scss +5 -0
  183. package/src/scss/props/_border.scss +25 -40
  184. package/src/scss/props/_hover.scss +12 -23
  185. package/src/scss/props/_size.scss +17 -0
  186. package/src/scss/props/index.scss +1 -2
  187. package/src/scss/reset.scss +1 -1
  188. package/src/scss/utility/_cbox.scss +5 -4
  189. package/src/scss/utility/_hidden.scss +14 -0
  190. package/src/scss/utility/_itemDivider.scss +11 -0
  191. package/src/scss/utility/_linkExpand.scss +10 -0
  192. package/src/scss/utility/_trimHL.scss +29 -13
  193. package/src/scss/utility/index.scss +3 -45
  194. package/dist/components/Box/getProps.js +0 -7
  195. package/dist/components/Columns/getProps.js +0 -6
  196. package/dist/components/Decorator/getProps.js +0 -17
  197. package/dist/components/Divider/getProps.js +0 -11
  198. package/dist/components/Divider/index.js +0 -9
  199. package/dist/components/Flex/Cluster.js +0 -8
  200. package/dist/components/Flex/FlexItem.js +0 -8
  201. package/dist/components/Flex/getProps.js +0 -13
  202. package/dist/components/Frame/getProps.js +0 -7
  203. package/dist/components/Grid/GridItem.js +0 -9
  204. package/dist/components/Grid/getProps.js +0 -28
  205. package/dist/components/Icon/getProps.js +0 -60
  206. package/dist/components/Layer/getProps.js +0 -9
  207. package/dist/components/Lism/Media.js +0 -9
  208. package/dist/components/Modal/CloseIconBtn.js +0 -19
  209. package/dist/components/Modal/Footer.js +0 -9
  210. package/dist/components/Modal/Header.js +0 -9
  211. package/dist/components/Spacer/getProps.js +0 -21
  212. package/dist/components/Spacer/index.js +0 -9
  213. package/dist/components/WithSide/getProps.js +0 -14
  214. package/dist/components/getInsetProps.js +0 -8
  215. package/dist/components/getMediaProps.js +0 -7
  216. package/dist/components/getTransformProps.js +0 -8
  217. package/dist/config/prop_list.js +0 -386
  218. package/dist/config/tokens.js +0 -43
  219. package/dist/config.js +0 -9
  220. package/dist/css/base.css +0 -1
  221. package/dist/css/dynamic.css +0 -1
  222. package/dist/css/layout.css +0 -1
  223. package/dist/css/main.css +0 -1
  224. package/dist/css/main_no_layer.css +0 -1
  225. package/dist/css/props.css +0 -1
  226. package/dist/css/reset.css +0 -1
  227. package/dist/css/state.css +0 -1
  228. package/dist/css/utility.css +0 -1
  229. package/dist/lib/getMaybeUtilValue.js +0 -6
  230. package/packages/astro/Flex/Cluster.astro +0 -11
  231. package/packages/astro/Grid/GridItem.astro +0 -15
  232. package/packages/astro/Modal/CloseIconBtn.astro +0 -24
  233. package/packages/astro/Modal/Footer.astro +0 -14
  234. package/packages/astro/Modal/Header.astro +0 -14
  235. package/src/scss/dynamic/_modal.scss +0 -30
  236. package/src/scss/layout/_columns.scss +0 -13
  237. package/src/scss/layout/_divider.scss +0 -3
  238. package/src/scss/layout/_grid.scss +0 -9
  239. package/src/scss/props/__memo.scss +0 -15
  240. package/src/scss/props/_color.scss +0 -7
  241. package/src/scss/props/_transition.scss +0 -20
  242. package/src/scss/state/_container.scss +0 -34
  243. package/src/scss/state/_flow.scss +0 -45
  244. package/src/scss/state/_size.scss +0 -22
  245. package/src/scss/state/index.scss +0 -12
  246. /package/dist/components/{Icon → atomic/Icon}/SVG.js +0 -0
  247. /package/dist/components/{Icon → atomic/Icon}/presets.js +0 -0
  248. /package/packages/astro/{helper/index.js → helper.js} +0 -0
  249. /package/src/scss/{dynamic → modules/dynamic}/index.scss +0 -0
  250. /package/src/scss/{layout → modules/layout}/_center.scss +0 -0
  251. /package/src/scss/{layout → modules/layout}/_stack.scss +0 -0
  252. /package/src/scss/{state → modules/state}/_gutter.scss +0 -0
  253. /package/src/scss/{state → modules/state}/_layer.scss +0 -0
@@ -1,32 +1,37 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import m from "react";
3
- import u from "../../lib/getLismProps.js";
4
- import { defaultProps as n, getAccProps as c } from "./getProps.js";
5
- import { setEvent as s } from "./setAccordion.js";
6
- import p from "../Grid/index.js";
7
- import f from "../Lism/index.js";
8
- import l from "../Flex/index.js";
9
- function h({ children: r, ...t }) {
10
- const o = m.useRef(null);
11
- m.useEffect(() => {
1
+ import { jsxs as f, jsx as t } from "react/jsx-runtime";
2
+ import c from "react";
3
+ import m from "../../lib/getLismProps.js";
4
+ import { defaultProps as n, getAccProps as s } from "./getProps.js";
5
+ import { setEvent as l } from "./setAccordion.js";
6
+ import i from "../Lism/index.js";
7
+ function h({ children: r, ...e }) {
8
+ const o = c.useRef(null);
9
+ c.useEffect(() => {
12
10
  if (o.current)
13
- return s(o.current);
11
+ return l(o.current);
14
12
  }, []);
15
- const i = u(c(t));
16
- return /* @__PURE__ */ e("details", { ref: o, ...i, children: r });
13
+ const u = m(s(e));
14
+ return /* @__PURE__ */ t("details", { ref: o, ...u, children: r });
17
15
  }
18
- function A({ children: r, ...t }) {
19
- return /* @__PURE__ */ e(l, { tag: "summary", ...n.header, ...t, children: r });
16
+ function a({ children: r, ...e }) {
17
+ return /* @__PURE__ */ t(i, { tag: "summary", ...n.header, ...e, children: r });
20
18
  }
21
- function E({ children: r, ...t }) {
22
- return /* @__PURE__ */ e(f, { ...n.label, ...t, children: r });
19
+ function p({ children: r, ...e }) {
20
+ return /* @__PURE__ */ t(i, { ...n.label, ...e, children: r });
23
21
  }
24
- function R({ children: r, isFlow: t, innerProps: o, ...i }) {
25
- return /* @__PURE__ */ e(p, { ...n.body, ...i, children: /* @__PURE__ */ e(f, { isFlow: t, ...n.inner, ...o, children: r }) });
22
+ function x({ children: r, flow: e, innerProps: o, ...u }) {
23
+ return /* @__PURE__ */ t(i, { ...n.body, ...u, children: /* @__PURE__ */ t(i, { layout: "flow", flow: e, ...n.inner, ...o, children: r }) });
24
+ }
25
+ function j({ children: r, ...e }) {
26
+ return /* @__PURE__ */ f(a, { ...e, children: [
27
+ /* @__PURE__ */ t(p, { children: r }),
28
+ /* @__PURE__ */ t(Icon, {})
29
+ ] });
26
30
  }
27
31
  export {
28
32
  h as Accordion,
29
- R as Body,
30
- A as Header,
31
- E as Label
33
+ x as Body,
34
+ a as Header,
35
+ j as HeaderLabel,
36
+ p as Label
32
37
  };
@@ -2,26 +2,26 @@ const r = (t) => Promise.all(t.getAnimations().map((e) => e.finished)), d = asyn
2
2
  if (t.dataset.animating && !e) return;
3
3
  t.dataset.animating = "1";
4
4
  const n = t.querySelector(".d--accordion_body");
5
- t.open ? t.open && (t.classList.remove("_opened"), await r(n), delete t.dataset.animating, t.open = !1) : (t.open = !0, setTimeout(async () => {
6
- t.classList.add("_opened"), await r(n), delete t.dataset.animating;
5
+ t.open ? t.open && (t.classList.remove("js-opened"), await r(n), delete t.dataset.animating, t.open = !1) : (t.open = !0, setTimeout(async () => {
6
+ t.classList.add("js-opened"), await r(n), delete t.dataset.animating;
7
7
  }, 5));
8
8
  }, p = (t, e) => {
9
- const n = e.open, o = e.classList.contains("_opened");
10
- n && !o && e.classList.add("_opened"), !n && o && e.classList.remove("_opened");
9
+ const n = e.open, o = e.classList.contains("js-opened");
10
+ n && !o && e.classList.add("js-opened"), !n && o && e.classList.remove("js-opened");
11
11
  }, u = (t) => {
12
12
  const e = t, n = e.querySelector('[data-role="trigger"]') || e.querySelector("summary");
13
13
  if (!n) return;
14
14
  let o = !1;
15
- const s = e.parentNode;
16
- s != null && (o = s.dataset.accordionMultiple !== "disallow");
17
- const c = (a) => {
18
- if (a.preventDefault(), !o && !e.open) {
19
- const i = s.querySelector("._opened");
15
+ const a = e.parentNode;
16
+ a != null && (o = a.dataset.accordionMultiple !== "disallow");
17
+ const c = (s) => {
18
+ if (s.preventDefault(), !o && !e.open) {
19
+ const i = a.querySelector(".js-opened");
20
20
  i != null && d(i, !0);
21
21
  }
22
22
  d(e);
23
- }, l = (a) => {
24
- p(a, e);
23
+ }, l = (s) => {
24
+ p(s, e);
25
25
  };
26
26
  return n.addEventListener("click", c), e.addEventListener("toggle", l), () => {
27
27
  n.removeEventListener("click", c), e.removeEventListener("toggle", l);
@@ -1,9 +1,8 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import m from "./getProps.js";
3
- import f from "../Lism/index.js";
4
- function s({ children: o, ...r }) {
5
- return /* @__PURE__ */ t(f, { ...m(r), children: o });
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import t from "../Lism/index.js";
3
+ function i(o) {
4
+ return /* @__PURE__ */ r(t, { layout: "box", ...o });
6
5
  }
7
6
  export {
8
- s as default
7
+ i as default
9
8
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import e from "../Grid/index.js";
2
+ import e from "../Lism/index.js";
3
3
  function n(r) {
4
- return /* @__PURE__ */ t(e, { _grid: "center", ...r });
4
+ return /* @__PURE__ */ t(e, { layout: "center", ...r });
5
5
  }
6
6
  export {
7
7
  n as default
@@ -0,0 +1,8 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import o from "../Lism/index.js";
3
+ function u(r) {
4
+ return /* @__PURE__ */ t(o, { layout: "cluster", ...r });
5
+ }
6
+ export {
7
+ u as default
8
+ };
@@ -1,9 +1,8 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import m from "./getProps.js";
3
- import t from "../Grid/index.js";
4
- function u(o) {
5
- return /* @__PURE__ */ r(t, { _grid: "columns", ...m(o) });
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import r from "../Lism/index.js";
3
+ function n(o) {
4
+ return /* @__PURE__ */ m(r, { layout: "columns", ...o });
6
5
  }
7
6
  export {
8
- u as default
7
+ n as default
9
8
  };
@@ -1,7 +1,7 @@
1
- import { jsx as n } from "react/jsx-runtime";
1
+ import { jsx as o } from "react/jsx-runtime";
2
2
  import i from "../Lism/index.js";
3
- function m({ size: t, layout: o, ...r }) {
4
- return /* @__PURE__ */ n(o || i, { isContainer: t || !0, ...r });
3
+ function m({ size: r, ...t }) {
4
+ return /* @__PURE__ */ o(i, { isContainer: r || !0, ...t });
5
5
  }
6
6
  export {
7
7
  m as default
@@ -1,17 +1,12 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import p from "./getContent.js";
3
- import s from "../Lism/index.js";
4
- function a({
5
- tag: t = "p",
6
- pre: n = "",
7
- length: o = "m",
8
- lang: m = "en",
9
- offset: r = 0,
10
- ...e
11
- }) {
12
- const f = p({ tag: t, pre: n, lang: m, length: o, offset: r });
13
- return /* @__PURE__ */ i(s, { tag: t, ...e, dangerouslySetInnerHTML: { __html: f } });
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import h from "./getContent.js";
3
+ import r from "../Lism/index.js";
4
+ function u({ tag: t = "p", pre: m = "", length: n = "m", lang: i = "en", offset: l = 0, ...e }) {
5
+ if (t === "img")
6
+ return /* @__PURE__ */ o(r, { tag: "img", src: "https://placehold.co/300x200?text=placeholder", width: "300", height: "200", alt: "", ...e });
7
+ const c = h({ tag: t, pre: m, lang: i, length: n, offset: l });
8
+ return /* @__PURE__ */ o(r, { tag: t, ...e, dangerouslySetInnerHTML: { __html: c } });
14
9
  }
15
10
  export {
16
- a as default
11
+ u as default
17
12
  };
@@ -1,11 +1,11 @@
1
1
  const e = {
2
2
  ja: {
3
- xs: "ロレムイプサムの座り雨。",
4
- s: "ロレムイプサムの座り雨、トマ好き学習だったエリット、しかし時と活力はそのような木々と楽しみ。",
5
- m: "ロレムイプサムの座り雨、トマ好き学習だったエリット、しかし時と活力はそのような木々と楽しみ。ブラインド行うにはいくつかの重要な事柄が流れます。",
6
- l: "ロレムイプサムの座り雨、トマ好き学習だったエリット、しかし時と活力はそのような木々と楽しみ。ブラインド行うにはいくつかの重要な事柄が流れます。長年にわたり、私は学区と長寿であれば、そのような Liberroy, Foo の取り組み、我らのうち、Mulla Sunt の利点を提案したのなら。",
7
- xl: "ロレムイプサムの座り雨、トマ好き学習だったエリット、しかし時と活力はそのような木々と楽しみ。ブラインド行うにはいくつかの重要な事柄が流れます。長年にわたり、私は学区と長寿であれば、そのような Liberroy, Foo の取り組み、我らのうち、Mulla Sunt の利点を提案したのなら。つまり、彼らはあなたの悩みに一般的な魂を癒しています。困難な必要性に少ないもの、それがコンテンツの比較です。あなたが選択的な彼女の事実、無意味な含有、便利な阻止と甘さ、誰かがもっと腐敗した残り物。提供する時間の生活、それで発明者が賢明です。",
8
- codes: "<b>ロレムイプサム</b>の座り雨、<a href='###'>トマ好き学習だったエリット</a>、しかし<i>時と活力</i>はそのような木々と楽しみ。長年にわたり、私は学区と長寿であれば、そのような<code>Liberroy</code>の取り組み。"
3
+ xs: "ロレム・イプサムの座り雨。",
4
+ s: "ロレム・イプサムの座り雨、トマ好き学習だったエリット、しかし時と活力はそのような木々と楽しみ。",
5
+ m: "ロレム・イプサムの座り雨、トマ好き学習だったエリット、しかし時と活力はそのような木々と楽しみ。ブラインド行うにはいくつかの重要な事柄が流れます。",
6
+ l: "ロレム・イプサムの座り雨、トマ好き学習だったエリット、しかし時と活力はそのような木々と楽しみ。ブラインド行うにはいくつかの重要な事柄が流れます。長年にわたり、私は学区と長寿であれば、そのような Liberroy, Foo の取り組み、我らのうち、Mulla Sunt の利点を提案したのなら。",
7
+ xl: "ロレム・イプサムの座り雨、トマ好き学習だったエリット、しかし時と活力はそのような木々と楽しみ。ブラインド行うにはいくつかの重要な事柄が流れます。長年にわたり、私は学区と長寿であれば、そのような Liberroy, Foo の取り組み、我らのうち、Mulla Sunt の利点を提案したのなら。つまり、彼らはあなたの悩みに一般的な魂を癒しています。困難な必要性に少ないもの、それがコンテンツの比較です。あなたが選択的な彼女の事実、無意味な含有、便利な阻止と甘さ、誰かがもっと腐敗した残り物。提供する時間の生活、それで発明者が賢明です。",
8
+ codes: "<b>ロレム・イプサム</b>の座り雨、<a href='###'>トマ好き学習だったエリット</a>、しかし<i>時と活力</i>はそのような木々と楽しみ。長年にわたり、私は学区と長寿であれば、そのような<code>Liberroy</code>の取り組み。"
9
9
  },
10
10
  en: {
11
11
  xs: "Lorem ipsum dolor sit amet.",
@@ -1,9 +1,8 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { getFlexProps as t } from "./getProps.js";
3
- import m from "../Lism/index.js";
4
- function p(r) {
5
- return /* @__PURE__ */ o(m, { ...t(r) });
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import t from "../Lism/index.js";
3
+ function m(o) {
4
+ return /* @__PURE__ */ r(t, { layout: "flex", ...o });
6
5
  }
7
6
  export {
8
- p as default
7
+ m as default
9
8
  };
@@ -0,0 +1,8 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import t from "../Lism/index.js";
3
+ function i(o) {
4
+ return /* @__PURE__ */ r(t, { layout: "flow", ...o });
5
+ }
6
+ export {
7
+ i as default
8
+ };
@@ -1,9 +1,8 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import m from "./getProps.js";
3
- import t from "../Lism/index.js";
4
- function p({ ...r }) {
5
- return /* @__PURE__ */ o(t, { ...m(r) });
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import o from "../Lism/index.js";
3
+ function e(r) {
4
+ return /* @__PURE__ */ m(o, { layout: "frame", ...r });
6
5
  }
7
6
  export {
8
- p as default
7
+ e as default
9
8
  };
@@ -1,9 +1,8 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { getGridProps as i } from "./getProps.js";
3
- import m from "../Lism/index.js";
4
- function d(r) {
5
- return r = i(r), /* @__PURE__ */ t(m, { ...r });
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import t from "../Lism/index.js";
3
+ function f(r) {
4
+ return /* @__PURE__ */ o(t, { layout: "grid", ...r });
6
5
  }
7
6
  export {
8
- d as default
7
+ f as default
9
8
  };
@@ -0,0 +1,5 @@
1
+ import { button as o, li as t, ol as i, ul as a, h as l, a as n, img as p, span as d, p as e, div as m } from "./index2.js";
2
+ const s = { div: m, p: e, span: d, img: p, a: n, h: l, ul: a, ol: i, li: t, button: o };
3
+ export {
4
+ s as default
5
+ };
@@ -0,0 +1,44 @@
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import r from "../Lism/index.js";
3
+ function a(t) {
4
+ return /* @__PURE__ */ n(r, { tag: "div", ...t });
5
+ }
6
+ function f(t) {
7
+ return /* @__PURE__ */ n(r, { tag: "p", ...t });
8
+ }
9
+ function g(t) {
10
+ return /* @__PURE__ */ n(r, { tag: "span", ...t });
11
+ }
12
+ function e(t) {
13
+ return /* @__PURE__ */ n(r, { tag: "a", ...t });
14
+ }
15
+ function c({ lv: t = "1", ...u }) {
16
+ return /* @__PURE__ */ n(r, { tag: `h${t}`, ...u });
17
+ }
18
+ function m(t) {
19
+ return /* @__PURE__ */ n(r, { tag: "img", ...t });
20
+ }
21
+ function p(t) {
22
+ return /* @__PURE__ */ n(r, { tag: "ul", ...t });
23
+ }
24
+ function l(t) {
25
+ return /* @__PURE__ */ n(r, { tag: "ol", ...t });
26
+ }
27
+ function s(t) {
28
+ return /* @__PURE__ */ n(r, { tag: "li", ...t });
29
+ }
30
+ function b(t) {
31
+ return /* @__PURE__ */ n(r, { tag: "button", ...t });
32
+ }
33
+ export {
34
+ e as a,
35
+ b as button,
36
+ a as div,
37
+ c as h,
38
+ m as img,
39
+ s as li,
40
+ l as ol,
41
+ f as p,
42
+ g as span,
43
+ p as ul
44
+ };
@@ -1,9 +1,9 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { getLayerProps as e } from "./getProps.js";
3
- import a from "../Lism/index.js";
4
- function L({ layout: r, ...o }) {
5
- return /* @__PURE__ */ t(r || a, { isLayer: !0, ...e(o) });
2
+ import o from "../getFilterProps.js";
3
+ import e from "../Lism/index.js";
4
+ function a(r) {
5
+ return /* @__PURE__ */ t(e, { isLayer: !0, ...o(r, "backdropFilter") });
6
6
  }
7
7
  export {
8
- L as default
8
+ a as default
9
9
  };
@@ -1,9 +1,9 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import s from "../Lism/index.js";
3
- function L({ layout: t, children: n, ...o }) {
4
- const i = !!o.href ? "a" : "div";
5
- return /* @__PURE__ */ r(t || s, { isLinkBox: !0, hov: "op", tag: i, ...o, children: n });
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import e from "../Lism/index.js";
3
+ function a({ children: t, ...r }) {
4
+ const o = !!r.href ? "a" : "div";
5
+ return /* @__PURE__ */ i(e, { isLinkBox: !0, tag: o, ...r, children: t });
6
6
  }
7
7
  export {
8
- L as default
8
+ a as default
9
9
  };
@@ -1,8 +1,8 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import i from "./index.js";
3
- function e(t) {
4
- return /* @__PURE__ */ r(i, { skipState: !0, tag: "a", ...t });
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import o from "./index.js";
3
+ function a(r) {
4
+ return /* @__PURE__ */ t(o, { tag: "a", ...r });
5
5
  }
6
6
  export {
7
- e as default
7
+ a as default
8
8
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import e from "./index.js";
3
- function m(t) {
4
- return /* @__PURE__ */ r(e, { skipState: !0, tag: "p", ...t });
2
+ import o from "./index.js";
3
+ function f(t) {
4
+ return /* @__PURE__ */ r(o, { tag: "p", ...t });
5
5
  }
6
6
  export {
7
- m as default
7
+ f as default
8
8
  };
@@ -1,8 +1,9 @@
1
- import { jsx as e } from "react/jsx-runtime";
1
+ import { jsx as p } from "react/jsx-runtime";
2
2
  import s from "../../lib/getLismProps.js";
3
- function u({ children: r, as: t, exProps: o, tag: i, ...m }) {
4
- return /* @__PURE__ */ e(t || i || "div", { ...s(m), ...o, children: r });
3
+ import f from "../getLayoutProps.js";
4
+ function d({ children: o, as: r, tag: t, layout: m, exProps: i, ...e }) {
5
+ return /* @__PURE__ */ p(r || t || "div", { ...s(f(m, e)), ...i, children: o });
5
6
  }
6
7
  export {
7
- u as default
8
+ d as default
8
9
  };
@@ -1,9 +1,9 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { defaultProps as a } from "./getProps.js";
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { defaultProps as m } from "./getProps.js";
3
3
  import f from "../Lism/index.js";
4
- function s({ layout: o, children: t, ...r }) {
5
- return /* @__PURE__ */ m(o || f, { ...a.body, ...r, children: t });
4
+ function a({ children: o, ...r }) {
5
+ return /* @__PURE__ */ t(f, { ...m.body, ...r, children: o });
6
6
  }
7
7
  export {
8
- s as default
8
+ a as default
9
9
  };
@@ -0,0 +1,13 @@
1
+ import { jsx as o, jsxs as n, Fragment as l } from "react/jsx-runtime";
2
+ import { defaultProps as a } from "./getProps.js";
3
+ import i from "../Lism/index.js";
4
+ import c from "../atomic/Icon/index.js";
5
+ function x({ children: r, modalId: e = "", icon: s, srText: t = "Close", ...m }) {
6
+ return /* @__PURE__ */ o(i, { "data-modal-close": e, ...a.closeBtn, ...m, children: r || /* @__PURE__ */ n(l, { children: [
7
+ /* @__PURE__ */ o(c, { icon: s || "x" }),
8
+ /* @__PURE__ */ o("span", { className: "u-hidden", children: t || "Close" })
9
+ ] }) });
10
+ }
11
+ export {
12
+ x as default
13
+ };
@@ -1,9 +1,9 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { defaultProps as n } from "./getProps.js";
3
- import e from "../Stack/index.js";
4
- function i({ children: r, ...o }) {
5
- return /* @__PURE__ */ t(e, { ...n.inner, ...o, children: r });
2
+ import { defaultProps as m } from "./getProps.js";
3
+ import n from "../Lism/index.js";
4
+ function p({ children: r, ...o }) {
5
+ return /* @__PURE__ */ t(n, { ...m.inner, ...o, children: r });
6
6
  }
7
7
  export {
8
- i as default
8
+ p as default
9
9
  };
@@ -0,0 +1,9 @@
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { defaultProps as n } from "./getProps.js";
3
+ import p from "../Lism/index.js";
4
+ function i({ children: o, modalId: t = "", ...r }) {
5
+ return /* @__PURE__ */ m(p, { "data-modal-open": t, ...n.openBtn, ...r, children: o });
6
+ }
7
+ export {
8
+ i as default
9
+ };
@@ -1,19 +1,18 @@
1
- import d from "../../lib/helper/atts.js";
2
- function r({ lismClass: a = "", duration: o, offset: l, style: s = {}, ...t }) {
3
- const e = {
4
- lismClass: d(a, "d--modal"),
5
- lismState: ["re--style"]
1
+ import e from "../../lib/helper/atts.js";
2
+ function r({ lismClass: s = "", duration: o, offset: n, style: t = {}, ...a }) {
3
+ const l = {
4
+ lismClass: e(s, "d--modal"),
5
+ setPlain: !0
6
6
  };
7
- return o && (s["--duration"] = o), l && (s["--offset"] = l), { ...e, style: s, ...t };
7
+ return o && (t["--duration"] = o), n && (t["--offset"] = n), { tag: "dialog", ...l, style: t, ...a };
8
8
  }
9
- const i = {
10
- body: { lismClass: "d--modal_body", ov: "auto" },
11
- inner: { lismClass: "d--modal_inner", pos: "r", maxH: "100%", bgc: "base" },
12
- closeBtn: { lismClass: "d--modal_close", lismState: ["re--style"], tag: "button" },
13
- header: { lismClass: "d--modal_header" },
14
- footer: { lismClass: "d--modal_footer" }
9
+ const d = {
10
+ body: { lismClass: "d--modal_body" },
11
+ inner: { lismClass: "d--modal_inner", layout: "stack" },
12
+ closeBtn: { tag: "button", setPlain: !0, hov: "o", d: "in-flex" },
13
+ openBtn: { tag: "button", setPlain: !0, hov: "o", d: "in-flex" }
15
14
  };
16
15
  export {
17
- i as defaultProps,
16
+ d as defaultProps,
18
17
  r as getProps
19
18
  };
@@ -1,10 +1,9 @@
1
1
  import o from "./index2.js";
2
2
  import r from "./Inner.js";
3
3
  import t from "./Body.js";
4
- import e from "./CloseIconBtn.js";
5
- import m from "./Header.js";
6
- import d from "./Footer.js";
7
- const M = { Root: o, Inner: r, Body: t, CloseIconBtn: e, Header: m, Footer: d };
4
+ import m from "./CloseBtn.js";
5
+ import n from "./OpenBtn.js";
6
+ const a = { Root: o, Inner: r, Body: t, CloseBtn: m, OpenBtn: n };
8
7
  export {
9
- M as default
8
+ a as default
10
9
  };
@@ -1,15 +1,15 @@
1
- import { jsx as u } from "react/jsx-runtime";
2
- import r from "react";
3
- import { setEvent as n } from "./setModal.js";
4
- import { getProps as s } from "./getProps.js";
5
- import a from "../Lism/index.js";
6
- const g = ({ children: o, layout: e, ...m }) => {
7
- const t = r.useRef(null);
8
- return r.useEffect(() => {
9
- if (t != null && t.current)
10
- return n(t == null ? void 0 : t.current);
11
- }, [t]), /* @__PURE__ */ u(e || a, { tag: "dialog", forwardedRef: t, ...s(m), children: o });
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import t from "react";
3
+ import { setEvent as f } from "./setModal.js";
4
+ import { getProps as n } from "./getProps.js";
5
+ import s from "../Lism/index.js";
6
+ const d = ({ children: o, ...e }) => {
7
+ const r = t.useRef(null);
8
+ return t.useEffect(() => {
9
+ if (r != null && r.current)
10
+ return f(r == null ? void 0 : r.current);
11
+ }, [r]), /* @__PURE__ */ m(s, { forwardedRef: r, ...n(e), children: o });
12
12
  };
13
13
  export {
14
- g as default
14
+ d as default
15
15
  };
@@ -1,8 +1,8 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import o from "../Flex/index.js";
3
- function a(t) {
4
- return /* @__PURE__ */ r(o, { _flex: "stack", ...t });
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import r from "../Lism/index.js";
3
+ function f(t) {
4
+ return /* @__PURE__ */ o(r, { layout: "stack", ...t });
5
5
  }
6
6
  export {
7
- a as default
7
+ f as default
8
8
  };
@@ -1,19 +1,17 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import "react";
1
+ import { jsx as e } from "react/jsx-runtime";
3
2
  import l from "../Lism/index.js";
4
- function b({ tabId: t = "tab", index: a = 0, isActive: r = !1, ...s }) {
5
- const e = `${t}-${a}`;
6
- return /* @__PURE__ */ o(
3
+ function b({ tabId: t = "tab", index: a = 0, isActive: r = !1, ...o }) {
4
+ const s = `${t}-${a}`;
5
+ return /* @__PURE__ */ e(
7
6
  l,
8
7
  {
9
8
  tag: "button",
10
9
  lismClass: "d--tabs_tab",
11
- className: "re--style",
10
+ setPlain: !0,
12
11
  role: "tab",
13
- "aria-controls": e,
12
+ "aria-controls": s,
14
13
  "aria-selected": r ? "true" : "false",
15
- skipState: !0,
16
- ...s
14
+ ...o
17
15
  }
18
16
  );
19
17
  }
@@ -1,8 +1,8 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import r from "../Flex/index.js";
3
- function o(t) {
4
- return /* @__PURE__ */ s(r, { lismClass: "d--tabs_list", role: "tablist", ...t });
2
+ import i from "../Lism/index.js";
3
+ function a(t) {
4
+ return /* @__PURE__ */ s(i, { lismClass: "d--tabs_list", role: "tablist", ...t });
5
5
  }
6
6
  export {
7
- o as default
7
+ a as default
8
8
  };
@@ -1,10 +1,9 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import "react";
3
- import i from "../Grid/GridItem.js";
4
- function m({ tabId: a = "tab", isActive: t = !1, index: r = 0, ...e }) {
5
- const o = `${a}-${r}`;
6
- return /* @__PURE__ */ l(i, { id: o, role: "tabpanel", "aria-hidden": t ? "false" : "true", lismClass: "d--tabs_panel", ...e });
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import s from "../Lism/index.js";
3
+ function d({ tabId: a = "tab", isActive: t = !1, index: e = 0, ...r }) {
4
+ const l = `${a}-${e}`;
5
+ return /* @__PURE__ */ o(s, { id: l, role: "tabpanel", "aria-hidden": t ? "false" : "true", lismClass: "d--tabs_panel", ...r });
7
6
  }
8
7
  export {
9
- m as default
8
+ d as default
10
9
  };