amotify 0.1.32 → 0.1.34

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 (98) hide show
  1. package/dist/@declaration/_.js +1 -1
  2. package/dist/@declaration/property.d.ts +2 -2
  3. package/dist/@styles/componentClasses/_.css +66 -65
  4. package/dist/@styles/componentClasses/_.js +39 -39
  5. package/dist/@styles/index.css +66 -65
  6. package/dist/@styles/index.js +39 -39
  7. package/dist/@styles/init.css +1 -1
  8. package/dist/@styles/style.css +96 -65
  9. package/dist/@styles/style.js +39 -39
  10. package/dist/@styles/var.css +1 -1
  11. package/dist/@utils/GenerateClassName.js +1 -470
  12. package/dist/@utils/LaunchReactApp.d.ts +1 -1
  13. package/dist/@utils/LaunchReactApp.js +1 -78
  14. package/dist/@utils/_.js +1 -12
  15. package/dist/@utils/collectForm.js +1 -96
  16. package/dist/@utils/color.js +1 -103
  17. package/dist/@utils/config.js +1 -101
  18. package/dist/@utils/fin.js +1 -39
  19. package/dist/@utils/getElement.js +1 -13
  20. package/dist/@utils/jsminEx.js +1 -172
  21. package/dist/@utils/pageTransit.js +1 -33
  22. package/dist/@utils/useRecycle.js +1 -44
  23. package/dist/@utils/useStore.js +1 -54
  24. package/dist/atoms/Box.js +1 -20
  25. package/dist/atoms/FAI.js +1 -148
  26. package/dist/atoms/Flex.js +1 -34
  27. package/dist/atoms/Grid.js +1 -17
  28. package/dist/atoms/Img.js +1 -65
  29. package/dist/atoms/Logo.js +51 -359
  30. package/dist/atoms/P.js +1 -20
  31. package/dist/atoms/Placeholder.js +1 -44
  32. package/dist/atoms/Span.js +1 -20
  33. package/dist/atoms/_.js +1 -9
  34. package/dist/fn/Button.js +1 -316
  35. package/dist/fn/Cropper.js +1 -1009
  36. package/dist/fn/Effect/Fade.js +1 -88
  37. package/dist/fn/Effect/Pudding.js +1 -22
  38. package/dist/fn/Effect/Ripple.js +3 -117
  39. package/dist/fn/Effect/_.js +1 -14
  40. package/dist/fn/Input/AutoHeightText.js +1 -112
  41. package/dist/fn/Input/Checker.js +1 -36
  42. package/dist/fn/Input/Chips/Selector.js +1 -472
  43. package/dist/fn/Input/Chips/_.js +1 -349
  44. package/dist/fn/Input/Contenteditable.js +1 -160
  45. package/dist/fn/Input/DigitCharacters.js +1 -275
  46. package/dist/fn/Input/Filer.js +1 -619
  47. package/dist/fn/Input/Hidden.js +1 -48
  48. package/dist/fn/Input/List.js +1 -450
  49. package/dist/fn/Input/Parts.js +1 -121
  50. package/dist/fn/Input/Plain.js +1 -12
  51. package/dist/fn/Input/RichSelect.js +1 -279
  52. package/dist/fn/Input/Search.js +1 -53
  53. package/dist/fn/Input/Segmented.js +1 -245
  54. package/dist/fn/Input/Select.js +1 -278
  55. package/dist/fn/Input/Slider.js +1 -538
  56. package/dist/fn/Input/Switch.js +1 -221
  57. package/dist/fn/Input/Text.js +1 -626
  58. package/dist/fn/Input/TextArea.js +1 -151
  59. package/dist/fn/Input/Time/Picker.js +1 -1457
  60. package/dist/fn/Input/Time/_.js +1 -867
  61. package/dist/fn/Input/_.js +1 -48
  62. package/dist/fn/Input/core.js +1 -626
  63. package/dist/fn/Layout/PageNotFound.js +1 -90
  64. package/dist/fn/Layout/PageRouter.js +1 -87
  65. package/dist/fn/Layout/PageViewController.js +1 -29
  66. package/dist/fn/Layout/Plate.js +1 -37
  67. package/dist/fn/Layout/RootViewController.js +1 -315
  68. package/dist/fn/Layout/SwipeView.js +1 -348
  69. package/dist/fn/Layout/TabBar.js +1 -72
  70. package/dist/fn/Layout/_.js +1 -22
  71. package/dist/fn/Loader/_.js +1 -104
  72. package/dist/fn/Loader/corner.js +1 -85
  73. package/dist/fn/Loader/mini.js +1 -125
  74. package/dist/fn/Loader/top.js +1 -73
  75. package/dist/fn/Sheet.d.ts +1 -0
  76. package/dist/fn/Sheet.js +1 -1101
  77. package/dist/fn/Snackbar.js +1 -216
  78. package/dist/fn/Table/Data.js +1 -974
  79. package/dist/fn/Table/Drag.js +1 -435
  80. package/dist/fn/Table/Normal.js +1 -136
  81. package/dist/fn/Table/Parts.js +1 -41
  82. package/dist/fn/Table/Wrapper.js +1 -60
  83. package/dist/fn/Table/_.js +1 -16
  84. package/dist/fn/Table/cellStyling.js +1 -51
  85. package/dist/fn/Tooltips.js +1 -58
  86. package/dist/fn/_.js +1 -10
  87. package/dist/index.js +1 -20
  88. package/dist/mols/Accordion.js +1 -152
  89. package/dist/mols/Column.js +1 -16
  90. package/dist/mols/LinkifyText.js +1 -42
  91. package/dist/mols/List.js +1 -42
  92. package/dist/mols/Row.js +1 -47
  93. package/dist/mols/Text.js +1 -67
  94. package/dist/mols/_.js +1 -6
  95. package/dist/temps/_.js +1 -1
  96. package/dist/temps/designBook.js +20 -3639
  97. package/package.json +1 -1
  98. package/dist/chunk-JJ3PEWPN.js +0 -60
@@ -1,455 +1,14 @@
1
- import {
2
- __async
3
- } from "../chunk-JJ3PEWPN.js";
4
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
- import React, { useEffect } from "react";
6
- import {
7
- $$,
8
- Config
9
- } from "../@utils/_";
10
- import {
11
- Box,
12
- Span,
13
- Grid,
14
- Flex,
15
- FAI,
16
- Img,
17
- Logo,
18
- Placeholder
19
- } from "../atoms/_";
20
- import {
21
- List,
22
- LinkifyText,
23
- Accordion,
24
- Row,
25
- Column,
26
- Text
27
- } from "../mols/_";
28
- import {
29
- Layout,
30
- Table,
31
- Input,
32
- Button,
33
- Sheet,
34
- Snackbar,
35
- Tooltips,
36
- Loader,
37
- Effect,
38
- Cropper
39
- } from "../fn/_";
40
- const Profiles = {
41
- _: () => {
42
- return /* @__PURE__ */ jsxs(Fragment, { children: [
43
- /* @__PURE__ */ jsx(Profiles.DarkMode, {}),
44
- /* @__PURE__ */ jsx(Profiles.ThemeColor, {})
45
- ] });
46
- },
47
- DarkMode: () => {
48
- return /* @__PURE__ */ jsxs(Row.Separate, { children: [
49
- /* @__PURE__ */ jsx(
50
- Box,
51
- {
52
- isSemiBoldFont: true,
53
- fontSize: "4.thirdTitle",
54
- children: "Dark Mode"
55
- }
56
- ),
57
- /* @__PURE__ */ jsx(
58
- Flex,
59
- {
60
- gap: 2,
61
- children: /* @__PURE__ */ jsx(
62
- Input.Segmented.Border,
63
- {
64
- value: Config.get().darkMode,
65
- textAlign: "left",
66
- options: [
67
- { value: "light", label: "Light" },
68
- { value: "dark", label: "Dark" },
69
- { value: "dim", label: "Dim" },
70
- { value: "auto", label: "Auto" }
71
- ],
72
- flexCenter: true,
73
- onUpdateValidValue: ({ value }) => {
74
- let Value = value[0];
75
- Config.update.darkMode(Value);
76
- }
77
- }
78
- )
79
- }
80
- )
81
- ] });
82
- },
83
- ThemeColor: () => {
84
- const ChangeColor = (value) => {
85
- Config.update.themeColor(value);
86
- };
87
- let Colors = [];
88
- const ColorList = [
89
- "comun",
90
- "leaf",
91
- "heart",
92
- "droplet",
93
- "brick",
94
- "flower",
95
- "lip",
96
- "wine",
97
- "theater",
98
- "bat",
99
- "poizon",
100
- "eggplant",
101
- "ufo",
102
- "alien",
103
- "tombstone",
104
- "ninja",
105
- "moon",
106
- "rain",
107
- "unicorn",
108
- "axe",
109
- "gem",
110
- "soap",
111
- "drizzle",
112
- "building",
113
- "fish",
114
- "icicles",
115
- "water",
116
- "tree1",
117
- "tree2",
118
- "tree3",
119
- "battery",
120
- "seedle",
121
- "greenTea",
122
- "oak",
123
- "salad",
124
- "cloudy",
125
- "lemon",
126
- "angel",
127
- "parasol",
128
- "pizza",
129
- "thunder",
130
- "latte",
131
- "island",
132
- "shovel",
133
- "coffee",
134
- "carrot",
135
- "cactus",
136
- "volcano",
137
- "choco",
138
- "industry",
139
- "gun",
140
- "galaxy",
141
- "line",
142
- "twitter",
143
- "amazon",
144
- "facebook",
145
- "android",
146
- "slackBlue",
147
- "slackGreen",
148
- "slackRed",
149
- "slackYellow",
150
- "slackBase",
151
- "googleBlue",
152
- "googleGreen",
153
- "googleYellow",
154
- "googleRed"
155
- ];
156
- for (let colorKey of ColorList) {
157
- Colors.push(/* @__PURE__ */ jsx(
158
- Button.Button.Prime.R,
159
- {
160
- padding: [1, 1.5],
161
- fontColor: "white",
162
- borderRadius: "1.tone.primary",
163
- textAlign: "left",
164
- backgroundColor: colorKey,
165
- onClick: () => {
166
- ChangeColor(colorKey);
167
- },
168
- children: /* @__PURE__ */ jsx(Text.Supplement, { children: colorKey.toCapital() })
169
- }
170
- ));
171
- }
172
- return /* @__PURE__ */ jsxs(Row.Separate, { children: [
173
- /* @__PURE__ */ jsx(Text.SubTitle, { children: "ThemeColor" }),
174
- /* @__PURE__ */ jsx(
175
- Grid,
176
- {
177
- gridCols: 5,
178
- gap: "1/3",
179
- children: Colors
180
- }
181
- )
182
- ] });
183
- }
184
- };
185
- const Basic = {
186
- _: () => {
187
- return /* @__PURE__ */ jsxs(Fragment, { children: [
188
- /* @__PURE__ */ jsxs(
189
- Flex,
190
- {
191
- gap: 1,
192
- flexChilds: "even",
193
- flexNewLine: true,
194
- children: [
195
- /* @__PURE__ */ jsx(
196
- Box,
197
- {
198
- padding: 2,
199
- ssCardBox: true,
200
- flexCenter: true,
201
- children: "Hello"
202
- }
203
- ),
204
- /* @__PURE__ */ jsx(
205
- Box,
206
- {
207
- padding: 2,
208
- ssCardBox: "border",
209
- flexCenter: true,
210
- children: "Hello"
211
- }
212
- ),
213
- /* @__PURE__ */ jsx(
214
- Box,
215
- {
216
- padding: 2,
217
- ssCardBox: "cloud",
218
- flexCenter: true,
219
- children: "Hello"
220
- }
221
- )
222
- ]
223
- }
224
- ),
225
- /* @__PURE__ */ jsxs(
226
- Flex,
227
- {
228
- gap: 1,
229
- children: [
230
- /* @__PURE__ */ jsx(
231
- Box,
232
- {
233
- flexCenter: true,
234
- children: /* @__PURE__ */ jsx(
235
- Placeholder,
236
- {
237
- unitWidth: 6,
238
- unitHeight: 6,
239
- children: "Placeholder",
240
- isRounded: true
241
- }
242
- )
243
- }
244
- ),
245
- /* @__PURE__ */ jsxs(
246
- Grid,
247
- {
248
- gridCols: 3,
249
- gap: 1,
250
- flexSizing: "auto",
251
- children: [
252
- /* @__PURE__ */ jsx(Box, { backgroundColor: "1.layer.base", padding: 2 }),
253
- /* @__PURE__ */ jsx(Box, { backgroundColor: "2.layer.cloud", padding: 2 }),
254
- /* @__PURE__ */ jsx(Box, { backgroundColor: "3.layer.canvas", padding: 2 }),
255
- /* @__PURE__ */ jsx(Box, { backgroundColor: "4.layer.darken", padding: 2 }),
256
- /* @__PURE__ */ jsx(Box, { backgroundColor: "5.layer.darker", padding: 2 }),
257
- /* @__PURE__ */ jsx(Box, { backgroundColor: "6.layer.darkest", padding: 2 })
258
- ]
259
- }
260
- ),
261
- /* @__PURE__ */ jsxs(
262
- Grid,
263
- {
264
- gridCols: 3,
265
- gap: "1/2",
266
- flexSizing: "auto",
267
- ssCardBox: true,
268
- children: [
269
- /* @__PURE__ */ jsx(Box, { flexCenter: true, fontColor: "1.clear", children: "FontColor1" }),
270
- /* @__PURE__ */ jsx(Box, { flexCenter: true, fontColor: "2.normal", children: "FontColor2" }),
271
- /* @__PURE__ */ jsx(Box, { flexCenter: true, fontColor: "3.blur", children: "FontColor3" }),
272
- /* @__PURE__ */ jsx(Box, { flexCenter: true, fontColor: "4.thin", children: "FontColor4" }),
273
- /* @__PURE__ */ jsx(Box, { flexCenter: true, fontColor: "5.translucent", children: "FontColor5" })
274
- ]
275
- }
276
- )
277
- ]
278
- }
279
- ),
280
- /* @__PURE__ */ jsx(Basic.Fonts, {}),
281
- /* @__PURE__ */ jsx(Basic.Box, {}),
282
- /* @__PURE__ */ jsx(Basic.Flex, {}),
283
- /* @__PURE__ */ jsx(Basic.Grid, {}),
284
- /* @__PURE__ */ jsx(Basic.Others, {})
285
- ] });
286
- },
287
- Fonts: () => {
288
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
289
- /* @__PURE__ */ jsx(
290
- Text.SubTitle,
291
- {
292
- padding: 1,
293
- borderBottom: true,
294
- children: "Font"
295
- }
296
- ),
297
- /* @__PURE__ */ jsxs(
298
- Box,
299
- {
300
- overflow: "auto",
301
- padding: 1,
302
- children: [
303
- /* @__PURE__ */ jsx(
304
- Text.Description,
305
- {
306
- padding: 1,
307
- children: `<Box
1
+ import{e as y}from"../chunk-VY3566IV.js";import{Fragment as d,jsx as e,jsxs as t}from"react/jsx-runtime";import S from"react";import{$$ as w,Config as G}from"../@utils/_";import{Box as o,Span as V,Grid as p,Flex as c,FAI as g,Img as T,Logo as l,Placeholder as U}from"../atoms/_";import{List as v,LinkifyText as Y,Accordion as H,Row as B,Column as h,Text as n}from"../mols/_";import{Layout as k,Table as b,Input as i,Button as r,Sheet as O,Snackbar as z,Tooltips as F,Loader as C,Effect as q,Cropper as J}from"../fn/_";const M={_:()=>t(d,{children:[e(M.DarkMode,{}),e(M.ThemeColor,{})]}),DarkMode:()=>t(B.Separate,{children:[e(o,{isSemiBoldFont:!0,fontSize:"4.thirdTitle",children:"Dark Mode"}),e(c,{gap:2,children:e(i.Segmented.Border,{value:G.get().darkMode,textAlign:"left",options:[{value:"light",label:"Light"},{value:"dark",label:"Dark"},{value:"dim",label:"Dim"},{value:"auto",label:"Auto"}],flexCenter:!0,onUpdateValidValue:({value:a})=>{let u=a[0];G.update.darkMode(u)}})})]}),ThemeColor:()=>{const a=x=>{G.update.themeColor(x)};let u=[];const s=["comun","leaf","heart","droplet","brick","flower","lip","wine","theater","bat","poizon","eggplant","ufo","alien","tombstone","ninja","moon","rain","unicorn","axe","gem","soap","drizzle","building","fish","icicles","water","tree1","tree2","tree3","battery","seedle","greenTea","oak","salad","cloudy","lemon","angel","parasol","pizza","thunder","latte","island","shovel","coffee","carrot","cactus","volcano","choco","industry","gun","galaxy","line","twitter","amazon","facebook","android","slackBlue","slackGreen","slackRed","slackYellow","slackBase","googleBlue","googleGreen","googleYellow","googleRed"];for(let x of s)u.push(e(r.Button.Prime.R,{padding:[1,1.5],fontColor:"white",borderRadius:"1.tone.primary",textAlign:"left",backgroundColor:x,onClick:()=>{a(x)},children:e(n.Supplement,{children:x.toCapital()})}));return t(B.Separate,{children:[e(n.SubTitle,{children:"ThemeColor"}),e(p,{gridCols:5,gap:"1/3",children:u})]})}},R={_:()=>t(d,{children:[t(c,{gap:1,flexChilds:"even",flexNewLine:!0,children:[e(o,{padding:2,ssCardBox:!0,flexCenter:!0,children:"Hello"}),e(o,{padding:2,ssCardBox:"border",flexCenter:!0,children:"Hello"}),e(o,{padding:2,ssCardBox:"cloud",flexCenter:!0,children:"Hello"})]}),t(c,{gap:1,children:[e(o,{flexCenter:!0,children:e(U,{unitWidth:6,unitHeight:6,children:"Placeholder",isRounded:!0})}),t(p,{gridCols:3,gap:1,flexSizing:"auto",children:[e(o,{backgroundColor:"1.layer.base",padding:2}),e(o,{backgroundColor:"2.layer.cloud",padding:2}),e(o,{backgroundColor:"3.layer.canvas",padding:2}),e(o,{backgroundColor:"4.layer.darken",padding:2}),e(o,{backgroundColor:"5.layer.darker",padding:2}),e(o,{backgroundColor:"6.layer.darkest",padding:2})]}),t(p,{gridCols:3,gap:"1/2",flexSizing:"auto",ssCardBox:!0,children:[e(o,{flexCenter:!0,fontColor:"1.clear",children:"FontColor1"}),e(o,{flexCenter:!0,fontColor:"2.normal",children:"FontColor2"}),e(o,{flexCenter:!0,fontColor:"3.blur",children:"FontColor3"}),e(o,{flexCenter:!0,fontColor:"4.thin",children:"FontColor4"}),e(o,{flexCenter:!0,fontColor:"5.translucent",children:"FontColor5"})]})]}),e(R.Fonts,{}),e(R.Box,{}),e(R.Flex,{}),e(R.Grid,{}),e(R.Others,{})]}),Fonts:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Font"}),t(o,{overflow:"auto",padding:1,children:[e(n.Description,{padding:1,children:`<Box
308
2
  fontSize={ 0 ~ 8 }
309
3
  >
310
4
  some text
311
- </Box>`
312
- }
313
- ),
314
- /* @__PURE__ */ jsx(
315
- List,
316
- {
317
- rowStyles: {
318
- flexType: "col",
319
- borderBottom: true,
320
- padding: 1,
321
- flexWrap: false,
322
- gap: "1/2"
323
- },
324
- rows: [
325
- {
326
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
327
- "\u30FB Landing",
328
- /* @__PURE__ */ jsxs(
329
- Box,
330
- {
331
- fontSize: "7.landing",
332
- isSemiBoldFont: true,
333
- children: [
334
- "Visualize Your ",
335
- /* @__PURE__ */ jsx(
336
- Span,
337
- {
338
- fontColor: "theme",
339
- children: "Colors"
340
- }
341
- ),
342
- " On a Real Website"
343
- ]
344
- }
345
- )
346
- ] })
347
- },
348
- {
349
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
350
- "\u30FB Title",
351
- /* @__PURE__ */ jsx(Box, { fontSize: "6.title", children: "\u4EE4\u548C\uFF14\u5E74\u5EA6\u306E\u56FD\u6C11\u8CA0\u62C5\u7387\u3092\u516C\u8868\u3057\u307E\u3059" })
352
- ] })
353
- },
354
- {
355
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
356
- "\u30FB SubTitle",
357
- /* @__PURE__ */ jsx(Box, { fontSize: "5.subTitle", children: "\u652F\u6255\u3044\u3092\u53D7\u3051\u4ED8\u3051\u308B" })
358
- ] })
359
- },
360
- {
361
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
362
- "\u30FB ThirdTitle",
363
- /* @__PURE__ */ jsx(Box, { fontSize: "4.thirdTitle", children: "\u79DF\u7A0E\u8CA0\u62C5\u7387\u3068\u793E\u4F1A\u4FDD\u969C\u8CA0\u62C5\u7387\u3092\u5408\u8A08\u3057\u305F\u56FD\u6C11\u8CA0\u62C5\u7387\u306B\u3064\u3044\u3066\u3001\u4EE4\u548C\uFF14\u5E74\u5EA6\u306E\u898B\u901A\u3057\u3092\u63A8\u8A08\u3057\u307E\u3057\u305F\u306E\u3067\u3001\u516C\u8868\u3057\u307E\u3059\u3002" })
364
- ] })
365
- },
366
- {
367
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
368
- "\u30FB Paragraph",
369
- /* @__PURE__ */ jsx(
370
- Text.Description,
371
- {
372
- fontSize: "3.paragraph",
373
- children: /* @__PURE__ */ jsx(
374
- LinkifyText,
375
- {
376
- text: `
5
+ </Box>`}),e(v,{rowStyles:{flexType:"col",borderBottom:!0,padding:1,flexWrap:!1,gap:"1/2"},rows:[{children:t(d,{children:["\u30FB Landing",t(o,{fontSize:"7.landing",isSemiBoldFont:!0,children:["Visualize Your ",e(V,{fontColor:"theme",children:"Colors"})," On a Real Website"]})]})},{children:t(d,{children:["\u30FB Title",e(o,{fontSize:"6.title",children:"\u4EE4\u548C\uFF14\u5E74\u5EA6\u306E\u56FD\u6C11\u8CA0\u62C5\u7387\u3092\u516C\u8868\u3057\u307E\u3059"})]})},{children:t(d,{children:["\u30FB SubTitle",e(o,{fontSize:"5.subTitle",children:"\u652F\u6255\u3044\u3092\u53D7\u3051\u4ED8\u3051\u308B"})]})},{children:t(d,{children:["\u30FB ThirdTitle",e(o,{fontSize:"4.thirdTitle",children:"\u79DF\u7A0E\u8CA0\u62C5\u7387\u3068\u793E\u4F1A\u4FDD\u969C\u8CA0\u62C5\u7387\u3092\u5408\u8A08\u3057\u305F\u56FD\u6C11\u8CA0\u62C5\u7387\u306B\u3064\u3044\u3066\u3001\u4EE4\u548C\uFF14\u5E74\u5EA6\u306E\u898B\u901A\u3057\u3092\u63A8\u8A08\u3057\u307E\u3057\u305F\u306E\u3067\u3001\u516C\u8868\u3057\u307E\u3059\u3002"})]})},{children:t(d,{children:["\u30FB Paragraph",e(n.Description,{fontSize:"3.paragraph",children:e(Y,{text:`
377
6
  This article discusses performance best practices for fonts.
378
- There are a variety of ways in which web fonts impact performance:https://google.com`
379
- }
380
- )
381
- }
382
- )
383
- ] })
384
- },
385
- {
386
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
387
- "\u30FB Normal",
388
- /* @__PURE__ */ jsx(Box, { fontSize: "2.normal", children: "\u52B9\u7387\u7684\u3067\u6301\u7D9A\u53EF\u80FD\u306A\u8CA1\u653F\u3078\u306E\u8EE2\u63DB\u3092\u56F3\u308A\u3001\u3053\u306E\u8CA1\u653F\u69CB\u9020\u3092\u5404\u822C\u306E\u69CB\u9020\u6539\u9769\u3068\u3068\u3082\u306B\u63A8\u9032\u3059\u308B\u3053\u3068\u3067\u3001\u6C11\u9593\u9700\u8981\u4E3B\u5C0E\u306E\u6301\u7D9A\u7684\u7D4C\u6E08\u6210\u9577\u306E\u5B9F\u73FE\u3092\u76EE\u6307\u3057\u307E\u3059\u3002 \u5C11\u5B50\u30FB\u9AD8\u9F62\u5316\u3001\u56FD\u969B\u5316\u306A\u3069\u7D4C\u6E08\u793E\u4F1A\u306E\u69CB\u9020\u5909\u5316\u306B\u5BFE\u5FDC\u3067\u304D\u308B21\u4E16\u7D00\u306E\u3042\u308B\u3079\u304D\u7A0E\u5236\u3092\u304D\u305A\u304D\u307E\u3059\u3002 \u8CA1\u653F\u6295\u878D\u8CC7\u306F\u3001\u884C\u8CA1\u653F\u6539\u9769\u306E\u8DA3\u65E8\u3092\u8E0F\u307E\u3048\u3001\u6C11\u9593\u3067\u306F\u3067\u304D\u306A\u3044\u5206\u91CE\u30FB\u4E8B\u696D\u306A\u3069\u306B\u91CD\u70B9\u5316\u3092\u884C\u3044\u3001\u771F\u306B\u653F\u7B56\u7684\u306B\u5FC5\u8981\u306A\u8CC7\u91D1\u9700\u8981\u306B\u306F\u7684\u78BA\u306B\u5BFE\u5FDC\u3057\u307E\u3059\u3002 \u91D1\u878D\u5E81\u3068\u5354\u529B\u3057\u3001\u91D1\u878D\u306E\u30BB\u30FC\u30D5\u30C6\u30A3\u30CD\u30C3\u30C8\u3092\u6574\u5099\u3057\u3001\u91D1\u878D\u5371\u6A5F\u306B\u7D20\u65E9\u304F\u5BFE\u5FDC\u3059\u308B\u306A\u3069\u3001\u91D1\u878D\u30B7\u30B9\u30C6\u30E0\u306E\u5B89\u5B9A\u306E\u78BA\u4FDD\u3092\u76EE\u6307\u3057\u307E\u3059\u3002 \u56FD\u969B\u7684\u306A\u5354\u529B\u7B49\u306B\u7A4D\u6975\u7684\u306B\u53D6\u308A\u7D44\u3080\u3053\u3068\u306B\u3088\u308A\u3001\u56FD\u969B\u901A\u8CA8\u30B7\u30B9\u30C6\u30E0\u306E\u5B89\u5B9A\u30FB\u56FD\u969B\u8CBF\u6613\u306E\u79E9\u5E8F\u3042\u308B\u767A\u5C55\u3092\u76EE\u6307\u3057\u307E\u3059\u3002" })
389
- ] })
390
- },
391
- {
392
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
393
- "\u30FB Mini",
394
- /* @__PURE__ */ jsx(Box, { fontSize: "1.mini", children: "Copyright \xA9 Ministry of Finance Japan. All Rights Reserved." })
395
- ] })
396
- }
397
- ]
398
- }
399
- )
400
- ]
401
- }
402
- )
403
- ] });
404
- },
405
- Box: () => {
406
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
407
- /* @__PURE__ */ jsx(
408
- Text.SubTitle,
409
- {
410
- padding: 1,
411
- borderBottom: true,
412
- children: "Box"
413
- }
414
- ),
415
- /* @__PURE__ */ jsx(
416
- Box,
417
- {
418
- padding: 1,
419
- overflow: "auto",
420
- children: /* @__PURE__ */ jsx(
421
- Table.Normal,
422
- {
423
- ssCardBox: false,
424
- tone: "cellBorder",
425
- borderRadius: 0,
426
- height: 1,
427
- colLength: 2,
428
- head: false,
429
- rows: [
430
- [
431
- {
432
- children: /* @__PURE__ */ jsx(Text.Description, { children: `<Box>
7
+ There are a variety of ways in which web fonts impact performance:https://google.com`})})]})},{children:t(d,{children:["\u30FB Normal",e(o,{fontSize:"2.normal",children:"\u52B9\u7387\u7684\u3067\u6301\u7D9A\u53EF\u80FD\u306A\u8CA1\u653F\u3078\u306E\u8EE2\u63DB\u3092\u56F3\u308A\u3001\u3053\u306E\u8CA1\u653F\u69CB\u9020\u3092\u5404\u822C\u306E\u69CB\u9020\u6539\u9769\u3068\u3068\u3082\u306B\u63A8\u9032\u3059\u308B\u3053\u3068\u3067\u3001\u6C11\u9593\u9700\u8981\u4E3B\u5C0E\u306E\u6301\u7D9A\u7684\u7D4C\u6E08\u6210\u9577\u306E\u5B9F\u73FE\u3092\u76EE\u6307\u3057\u307E\u3059\u3002 \u5C11\u5B50\u30FB\u9AD8\u9F62\u5316\u3001\u56FD\u969B\u5316\u306A\u3069\u7D4C\u6E08\u793E\u4F1A\u306E\u69CB\u9020\u5909\u5316\u306B\u5BFE\u5FDC\u3067\u304D\u308B21\u4E16\u7D00\u306E\u3042\u308B\u3079\u304D\u7A0E\u5236\u3092\u304D\u305A\u304D\u307E\u3059\u3002 \u8CA1\u653F\u6295\u878D\u8CC7\u306F\u3001\u884C\u8CA1\u653F\u6539\u9769\u306E\u8DA3\u65E8\u3092\u8E0F\u307E\u3048\u3001\u6C11\u9593\u3067\u306F\u3067\u304D\u306A\u3044\u5206\u91CE\u30FB\u4E8B\u696D\u306A\u3069\u306B\u91CD\u70B9\u5316\u3092\u884C\u3044\u3001\u771F\u306B\u653F\u7B56\u7684\u306B\u5FC5\u8981\u306A\u8CC7\u91D1\u9700\u8981\u306B\u306F\u7684\u78BA\u306B\u5BFE\u5FDC\u3057\u307E\u3059\u3002 \u91D1\u878D\u5E81\u3068\u5354\u529B\u3057\u3001\u91D1\u878D\u306E\u30BB\u30FC\u30D5\u30C6\u30A3\u30CD\u30C3\u30C8\u3092\u6574\u5099\u3057\u3001\u91D1\u878D\u5371\u6A5F\u306B\u7D20\u65E9\u304F\u5BFE\u5FDC\u3059\u308B\u306A\u3069\u3001\u91D1\u878D\u30B7\u30B9\u30C6\u30E0\u306E\u5B89\u5B9A\u306E\u78BA\u4FDD\u3092\u76EE\u6307\u3057\u307E\u3059\u3002 \u56FD\u969B\u7684\u306A\u5354\u529B\u7B49\u306B\u7A4D\u6975\u7684\u306B\u53D6\u308A\u7D44\u3080\u3053\u3068\u306B\u3088\u308A\u3001\u56FD\u969B\u901A\u8CA8\u30B7\u30B9\u30C6\u30E0\u306E\u5B89\u5B9A\u30FB\u56FD\u969B\u8CBF\u6613\u306E\u79E9\u5E8F\u3042\u308B\u767A\u5C55\u3092\u76EE\u6307\u3057\u307E\u3059\u3002"})]})},{children:t(d,{children:["\u30FB Mini",e(o,{fontSize:"1.mini",children:"Copyright \xA9 Ministry of Finance Japan. All Rights Reserved."})]})}]})]})]}),Box:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Box"}),e(o,{padding:1,overflow:"auto",children:e(b.Normal,{ssCardBox:!1,tone:"cellBorder",borderRadius:0,height:1,colLength:2,head:!1,rows:[[{children:e(n.Description,{children:`<Box>
433
8
  helloWorld!!
434
- </Box>` })
435
- },
436
- {
437
- children: /* @__PURE__ */ jsx(Box, { children: " helloWorld!! " })
438
- }
439
- ],
440
- [
441
- {
442
- children: /* @__PURE__ */ jsx(Text.Description, { children: `<Box
9
+ </Box>`})},{children:e(o,{children:" helloWorld!! "})}],[{children:e(n.Description,{children:`<Box
443
10
  children={ 'helloWorld!!' }
444
- />` })
445
- },
446
- {
447
- children: /* @__PURE__ */ jsx(Box, { children: "helloWorld!!" })
448
- }
449
- ],
450
- [
451
- {
452
- children: /* @__PURE__ */ jsx(Text.Description, { children: `<Box
11
+ />`})},{children:e(o,{children:"helloWorld!!"})}],[{children:e(n.Description,{children:`<Box
453
12
  fontColor={ '4.thin' }
454
13
  padding={ 1 }
455
14
  margin={ 1 }
@@ -458,426 +17,29 @@ borderRadius={ 2 }
458
17
  border={ 'normal' }
459
18
  children={ 'styleBox' }
460
19
  />
461
- ` })
462
- },
463
- {
464
- children: /* @__PURE__ */ jsx(
465
- Box,
466
- {
467
- fontColor: "4.thin",
468
- padding: 1,
469
- margin: 1,
470
- textAlign: "center",
471
- borderRadius: 2,
472
- border: true,
473
- children: "styleBox"
474
- }
475
- )
476
- }
477
- ]
478
- ]
479
- }
480
- )
481
- }
482
- )
483
- ] });
484
- },
485
- Flex: () => {
486
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
487
- /* @__PURE__ */ jsx(
488
- Text.SubTitle,
489
- {
490
- padding: 1,
491
- borderBottom: true,
492
- children: "Flex"
493
- }
494
- ),
495
- /* @__PURE__ */ jsx(
496
- Box,
497
- {
498
- padding: 1,
499
- overflow: "auto",
500
- children: /* @__PURE__ */ jsx(
501
- Table.Normal,
502
- {
503
- ssCardBox: false,
504
- colLength: 2,
505
- tone: "cellBorder",
506
- borderRadius: 0,
507
- height: 1,
508
- head: false,
509
- rows: [
510
- [
511
- {
512
- children: /* @__PURE__ */ jsx(Text.Description, { children: `<Flex flexType='row' gap={ 1 }>
20
+ `})},{children:e(o,{fontColor:"4.thin",padding:1,margin:1,textAlign:"center",borderRadius:2,border:!0,children:"styleBox"})}]]})})]}),Flex:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Flex"}),e(o,{padding:1,overflow:"auto",children:e(b.Normal,{ssCardBox:!1,colLength:2,tone:"cellBorder",borderRadius:0,height:1,head:!1,rows:[[{children:e(n.Description,{children:`<Flex flexType='row' gap={ 1 }>
513
21
  <Box children={ 'FlexBox1' } />
514
22
  <Box children={ 'FlexBox2' } />
515
23
  <Box children={ 'FlexBox3' } />
516
- </Flex>` })
517
- },
518
- {
519
- children: /* @__PURE__ */ jsxs(
520
- Flex,
521
- {
522
- flexType: "row",
523
- gap: 1,
524
- fontColor: "theme",
525
- children: [
526
- /* @__PURE__ */ jsx(
527
- Box,
528
- {
529
- padding: 1,
530
- borderRadius: 1,
531
- flexCenter: true,
532
- children: "FlexBox1",
533
- backgroundColor: "tcOpLow"
534
- }
535
- ),
536
- /* @__PURE__ */ jsx(
537
- Box,
538
- {
539
- padding: 1,
540
- borderRadius: 1,
541
- flexCenter: true,
542
- children: "FlexBox2",
543
- backgroundColor: "tcOpMiddle"
544
- }
545
- ),
546
- /* @__PURE__ */ jsx(
547
- Box,
548
- {
549
- padding: 1,
550
- borderRadius: 1,
551
- flexCenter: true,
552
- children: "FlexBox3",
553
- backgroundColor: "tcOpHigh"
554
- }
555
- )
556
- ]
557
- }
558
- )
559
- }
560
- ],
561
- [
562
- {
563
- children: /* @__PURE__ */ jsx(Text.Description, { textAlign: "left", children: `<Flex
24
+ </Flex>`})},{children:t(c,{flexType:"row",gap:1,fontColor:"theme",children:[e(o,{padding:1,borderRadius:1,flexCenter:!0,children:"FlexBox1",backgroundColor:"tcOpLow"}),e(o,{padding:1,borderRadius:1,flexCenter:!0,children:"FlexBox2",backgroundColor:"tcOpMiddle"}),e(o,{padding:1,borderRadius:1,flexCenter:!0,children:"FlexBox3",backgroundColor:"tcOpHigh"})]})}],[{children:e(n.Description,{textAlign:"left",children:`<Flex
564
25
  flexType='col'
565
26
  flexChilds={ 'auto' }
566
27
  >
567
28
  <Box />
568
29
  <Box />
569
30
  ...
570
- </Flex>` })
571
- },
572
- {
573
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
574
- /* @__PURE__ */ jsxs(
575
- Flex,
576
- {
577
- gap: 1,
578
- flexCenter: true,
579
- children: [
580
- /* @__PURE__ */ jsx(
581
- Box,
582
- {
583
- flexCenter: true,
584
- unitWidth: 3,
585
- unitHeight: 3,
586
- isRounded: true,
587
- boxShadow: "0.normal",
588
- backgroundColor: "tcLightest"
589
- }
590
- ),
591
- /* @__PURE__ */ jsx(
592
- Box,
593
- {
594
- flexCenter: true,
595
- unitWidth: 3,
596
- unitHeight: 3,
597
- isRounded: true,
598
- boxShadow: "0.normal",
599
- backgroundColor: "tcLighter"
600
- }
601
- ),
602
- /* @__PURE__ */ jsx(
603
- Box,
604
- {
605
- flexCenter: true,
606
- unitWidth: 3,
607
- unitHeight: 3,
608
- isRounded: true,
609
- boxShadow: "0.normal",
610
- backgroundColor: "tcLighten"
611
- }
612
- ),
613
- /* @__PURE__ */ jsx(
614
- Box,
615
- {
616
- flexCenter: true,
617
- unitWidth: 3,
618
- unitHeight: 3,
619
- isRounded: true,
620
- boxShadow: "0.normal",
621
- backgroundColor: "theme"
622
- }
623
- ),
624
- /* @__PURE__ */ jsx(
625
- Box,
626
- {
627
- flexCenter: true,
628
- unitWidth: 3,
629
- unitHeight: 3,
630
- isRounded: true,
631
- boxShadow: "0.normal",
632
- backgroundColor: "tcDarken"
633
- }
634
- ),
635
- /* @__PURE__ */ jsx(
636
- Box,
637
- {
638
- flexCenter: true,
639
- unitWidth: 3,
640
- unitHeight: 3,
641
- isRounded: true,
642
- boxShadow: "0.normal",
643
- backgroundColor: "tcDarker"
644
- }
645
- ),
646
- /* @__PURE__ */ jsx(
647
- Box,
648
- {
649
- flexCenter: true,
650
- unitWidth: 3,
651
- unitHeight: 3,
652
- isRounded: true,
653
- boxShadow: "0.normal",
654
- backgroundColor: "tcDarkest"
655
- }
656
- )
657
- ]
658
- }
659
- ),
660
- /* @__PURE__ */ jsxs(
661
- Flex,
662
- {
663
- gap: 1,
664
- flexCenter: true,
665
- children: [
666
- /* @__PURE__ */ jsx(
667
- Box,
668
- {
669
- flexCenter: true,
670
- unitWidth: 3,
671
- unitHeight: 3,
672
- isRounded: true,
673
- boxShadow: "0.normal",
674
- backgroundColor: "1.layer.base"
675
- }
676
- ),
677
- /* @__PURE__ */ jsx(
678
- Box,
679
- {
680
- flexCenter: true,
681
- unitWidth: 3,
682
- unitHeight: 3,
683
- isRounded: true,
684
- boxShadow: "0.normal",
685
- backgroundColor: "2.layer.cloud"
686
- }
687
- ),
688
- /* @__PURE__ */ jsx(
689
- Box,
690
- {
691
- flexCenter: true,
692
- unitWidth: 3,
693
- unitHeight: 3,
694
- isRounded: true,
695
- boxShadow: "0.normal",
696
- backgroundColor: "3.layer.canvas"
697
- }
698
- ),
699
- /* @__PURE__ */ jsx(
700
- Box,
701
- {
702
- flexCenter: true,
703
- unitWidth: 3,
704
- unitHeight: 3,
705
- isRounded: true,
706
- boxShadow: "0.normal",
707
- backgroundColor: "4.layer.darken"
708
- }
709
- ),
710
- /* @__PURE__ */ jsx(
711
- Box,
712
- {
713
- flexCenter: true,
714
- unitWidth: 3,
715
- unitHeight: 3,
716
- isRounded: true,
717
- boxShadow: "0.normal",
718
- backgroundColor: "5.layer.darker"
719
- }
720
- ),
721
- /* @__PURE__ */ jsx(
722
- Box,
723
- {
724
- flexCenter: true,
725
- unitWidth: 3,
726
- unitHeight: 3,
727
- isRounded: true,
728
- boxShadow: "0.normal",
729
- backgroundColor: "6.layer.darkest"
730
- }
731
- )
732
- ]
733
- }
734
- )
735
- ] })
736
- }
737
- ],
738
- [
739
- {
740
- children: /* @__PURE__ */ jsx(Text.Description, { children: `<Flex gap={ 1 }>
31
+ </Flex>`})},{children:t(d,{children:[t(c,{gap:1,flexCenter:!0,children:[e(o,{flexCenter:!0,unitWidth:3,unitHeight:3,isRounded:!0,boxShadow:"0.normal",backgroundColor:"tcLightest"}),e(o,{flexCenter:!0,unitWidth:3,unitHeight:3,isRounded:!0,boxShadow:"0.normal",backgroundColor:"tcLighter"}),e(o,{flexCenter:!0,unitWidth:3,unitHeight:3,isRounded:!0,boxShadow:"0.normal",backgroundColor:"tcLighten"}),e(o,{flexCenter:!0,unitWidth:3,unitHeight:3,isRounded:!0,boxShadow:"0.normal",backgroundColor:"theme"}),e(o,{flexCenter:!0,unitWidth:3,unitHeight:3,isRounded:!0,boxShadow:"0.normal",backgroundColor:"tcDarken"}),e(o,{flexCenter:!0,unitWidth:3,unitHeight:3,isRounded:!0,boxShadow:"0.normal",backgroundColor:"tcDarker"}),e(o,{flexCenter:!0,unitWidth:3,unitHeight:3,isRounded:!0,boxShadow:"0.normal",backgroundColor:"tcDarkest"})]}),t(c,{gap:1,flexCenter:!0,children:[e(o,{flexCenter:!0,unitWidth:3,unitHeight:3,isRounded:!0,boxShadow:"0.normal",backgroundColor:"1.layer.base"}),e(o,{flexCenter:!0,unitWidth:3,unitHeight:3,isRounded:!0,boxShadow:"0.normal",backgroundColor:"2.layer.cloud"}),e(o,{flexCenter:!0,unitWidth:3,unitHeight:3,isRounded:!0,boxShadow:"0.normal",backgroundColor:"3.layer.canvas"}),e(o,{flexCenter:!0,unitWidth:3,unitHeight:3,isRounded:!0,boxShadow:"0.normal",backgroundColor:"4.layer.darken"}),e(o,{flexCenter:!0,unitWidth:3,unitHeight:3,isRounded:!0,boxShadow:"0.normal",backgroundColor:"5.layer.darker"}),e(o,{flexCenter:!0,unitWidth:3,unitHeight:3,isRounded:!0,boxShadow:"0.normal",backgroundColor:"6.layer.darkest"})]})]})}],[{children:e(n.Description,{children:`<Flex gap={ 1 }>
741
32
  <Box flexGrid={ 2 } ... />
742
33
  <Box flexGrid={ 3 } ... />
743
34
  <Box flexGrid={ 4 } ... />
744
- </Flex>` })
745
- },
746
- {
747
- children: /* @__PURE__ */ jsxs(
748
- Flex,
749
- {
750
- gap: 1,
751
- fontColor: "white",
752
- children: [
753
- /* @__PURE__ */ jsx(
754
- Box,
755
- {
756
- padding: 1,
757
- flexCenter: true,
758
- borderRadius: 1,
759
- backgroundColor: "posi",
760
- flexGrid: 2,
761
- children: "Box1"
762
- }
763
- ),
764
- /* @__PURE__ */ jsx(
765
- Box,
766
- {
767
- padding: 1,
768
- flexCenter: true,
769
- borderRadius: 1,
770
- backgroundColor: "nega",
771
- flexGrid: 3,
772
- children: "Box2"
773
- }
774
- ),
775
- /* @__PURE__ */ jsx(
776
- Box,
777
- {
778
- padding: 1,
779
- flexCenter: true,
780
- borderRadius: 1,
781
- backgroundColor: "warn",
782
- flexGrid: 4,
783
- children: "Box3"
784
- }
785
- )
786
- ]
787
- }
788
- )
789
- }
790
- ]
791
- ]
792
- }
793
- )
794
- }
795
- )
796
- ] });
797
- },
798
- Grid: () => {
799
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
800
- /* @__PURE__ */ jsx(
801
- Text.SubTitle,
802
- {
803
- padding: 1,
804
- borderBottom: true,
805
- children: "Grid"
806
- }
807
- ),
808
- /* @__PURE__ */ jsx(
809
- Box,
810
- {
811
- padding: 1,
812
- overflow: "auto",
813
- children: /* @__PURE__ */ jsx(
814
- Table.Normal,
815
- {
816
- ssCardBox: false,
817
- colLength: 2,
818
- tone: "cellBorder",
819
- height: 1,
820
- backgroundColor: "nega",
821
- borderRadius: 0,
822
- head: false,
823
- rows: [
824
- [
825
- {
826
- children: /* @__PURE__ */ jsx(Text.Description, { children: `<Grid gridCols={ 3 } gap={ 1 }>
35
+ </Flex>`})},{children:t(c,{gap:1,fontColor:"white",children:[e(o,{padding:1,flexCenter:!0,borderRadius:1,backgroundColor:"posi",flexGrid:2,children:"Box1"}),e(o,{padding:1,flexCenter:!0,borderRadius:1,backgroundColor:"nega",flexGrid:3,children:"Box2"}),e(o,{padding:1,flexCenter:!0,borderRadius:1,backgroundColor:"warn",flexGrid:4,children:"Box3"})]})}]]})})]}),Grid:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Grid"}),e(o,{padding:1,overflow:"auto",children:e(b.Normal,{ssCardBox:!1,colLength:2,tone:"cellBorder",height:1,backgroundColor:"nega",borderRadius:0,head:!1,rows:[[{children:e(n.Description,{children:`<Grid gridCols={ 3 } gap={ 1 }>
827
36
  <Box children={ 'GridBox1' } />
828
37
  <Box children={ 'GridBox2' } />
829
38
  <Box children={ 'GridBox3' } />
830
39
  <Box children={ 'GridBox4' } />
831
40
  <Box children={ 'GridBox5' } />
832
41
  <Box children={ 'GridBox6' } />
833
- </Grid>` })
834
- },
835
- {
836
- children: /* @__PURE__ */ jsxs(Grid, { gridCols: 3, gap: 1, children: [
837
- /* @__PURE__ */ jsx(Box, { border: true, padding: 1, backgroundColor: "1.layer.base", children: "GridBox1" }),
838
- /* @__PURE__ */ jsx(Box, { border: true, padding: 1, backgroundColor: "2.layer.cloud", children: "GridBox2" }),
839
- /* @__PURE__ */ jsx(Box, { border: true, padding: 1, backgroundColor: "3.layer.canvas", children: "GridBox3" }),
840
- /* @__PURE__ */ jsx(Box, { border: true, padding: 1, backgroundColor: "4.layer.darken", children: "GridBox4" }),
841
- /* @__PURE__ */ jsx(Box, { border: true, padding: 1, backgroundColor: "5.layer.darker", children: "GridBox5" }),
842
- /* @__PURE__ */ jsx(Box, { border: true, padding: 1, backgroundColor: "6.layer.darkest", children: "GridBox6" })
843
- ] })
844
- }
845
- ]
846
- ]
847
- }
848
- )
849
- }
850
- )
851
- ] });
852
- },
853
- Others: () => {
854
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
855
- /* @__PURE__ */ jsx(
856
- Text.SubTitle,
857
- {
858
- padding: 1,
859
- borderBottom: true,
860
- children: "Others"
861
- }
862
- ),
863
- /* @__PURE__ */ jsx(
864
- Box,
865
- {
866
- padding: 1,
867
- overflow: "auto",
868
- children: /* @__PURE__ */ jsx(
869
- Table.Normal,
870
- {
871
- ssCardBox: false,
872
- colLength: 2,
873
- tone: "cellBorder",
874
- height: 1,
875
- borderRadius: 0,
876
- head: false,
877
- rows: [
878
- [
879
- {
880
- children: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Text.Description, { children: `
42
+ </Grid>`})},{children:t(p,{gridCols:3,gap:1,children:[e(o,{border:!0,padding:1,backgroundColor:"1.layer.base",children:"GridBox1"}),e(o,{border:!0,padding:1,backgroundColor:"2.layer.cloud",children:"GridBox2"}),e(o,{border:!0,padding:1,backgroundColor:"3.layer.canvas",children:"GridBox3"}),e(o,{border:!0,padding:1,backgroundColor:"4.layer.darken",children:"GridBox4"}),e(o,{border:!0,padding:1,backgroundColor:"5.layer.darker",children:"GridBox5"}),e(o,{border:!0,padding:1,backgroundColor:"6.layer.darkest",children:"GridBox6"})]})}]]})})]}),Others:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Others"}),e(o,{padding:1,overflow:"auto",children:e(b.Normal,{ssCardBox:!1,colLength:2,tone:"cellBorder",height:1,borderRadius:0,head:!1,rows:[[{children:e(d,{children:e(n.Description,{children:`
881
43
  <Button.Label
882
44
  htmlFor='testAccordion'
883
45
  type='sub'
@@ -891,2068 +53,27 @@ children={
891
53
  in Accordion Element
892
54
  </>
893
55
  }
894
- />` }) })
895
- },
896
- {
897
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
898
- /* @__PURE__ */ jsx(
899
- Button.Label.Sub.R,
900
- {
901
- children: "ToggleButton",
902
- onClick: () => {
903
- Accordion.fn.toggle("testAccordion");
904
- }
905
- }
906
- ),
907
- /* @__PURE__ */ jsx(
908
- Accordion,
909
- {
910
- accordionID: "testAccordion",
911
- defaultOpen: true,
912
- children: "in Accordion Element"
913
- }
914
- )
915
- ] })
916
- }
917
- ],
918
- [
919
- {
920
- children: /* @__PURE__ */ jsx(Text.Description, { children: `
56
+ />`})})},{children:t(d,{children:[e(r.Label.Sub.R,{children:"ToggleButton",onClick:()=>{H.fn.toggle("testAccordion")}}),e(H,{accordionID:"testAccordion",defaultOpen:!0,children:"in Accordion Element"})]})}],[{children:e(n.Description,{children:`
921
57
  <Img
922
58
  maxheight={ 8 }
923
59
  maxWidth={ 8 }
924
60
  src='...'
925
61
  alt='noImage'
926
62
  />
927
- ` })
928
- },
929
- {
930
- children: /* @__PURE__ */ jsx(
931
- Img,
932
- {
933
- src: Logo.Images.defaultIcon("user"),
934
- alt: "noImage",
935
- freeCSS: {
936
- maxHeight: 12 * 8,
937
- maxWidth: 12 * 8
938
- }
939
- }
940
- )
941
- }
942
- ]
943
- ]
944
- }
945
- )
946
- }
947
- )
948
- ] });
949
- }
950
- };
951
- const Logos = {
952
- _: () => {
953
- return /* @__PURE__ */ jsxs(Fragment, { children: [
954
- /* @__PURE__ */ jsx(Logos.Comun, {}),
955
- /* @__PURE__ */ jsx(Logos.Mingoo, {}),
956
- /* @__PURE__ */ jsx(Logos.Google, {}),
957
- /* @__PURE__ */ jsx(Logos.Facebook, {}),
958
- /* @__PURE__ */ jsx(Logos.Line, {}),
959
- /* @__PURE__ */ jsx(Logos.Twitter, {})
960
- ] });
961
- },
962
- Comun: () => {
963
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
964
- /* @__PURE__ */ jsx(
965
- Text.SubTitle,
966
- {
967
- padding: 1,
968
- borderBottom: true,
969
- children: "Comun"
970
- }
971
- ),
972
- /* @__PURE__ */ jsx(
973
- Box,
974
- {
975
- padding: 1,
976
- overflow: "auto",
977
- children: /* @__PURE__ */ jsxs(
978
- Column,
979
- {
980
- padding: 2,
981
- children: [
982
- /* @__PURE__ */ jsxs(Row.Left, { gap: 2, children: [
983
- /* @__PURE__ */ jsx(Logo.Brands.ComunIcon, { size: "S" }),
984
- /* @__PURE__ */ jsx(Logo.Brands.ComunIcon, { size: "R" }),
985
- /* @__PURE__ */ jsx(Logo.Brands.ComunIcon, { size: "L" }),
986
- /* @__PURE__ */ jsx(Logo.Brands.ComunIcon, { size: "2L" }),
987
- /* @__PURE__ */ jsx(Logo.Brands.ComunIcon, { size: "3L" })
988
- ] }),
989
- /* @__PURE__ */ jsxs(Row.Left, { gap: 2, children: [
990
- /* @__PURE__ */ jsx(Logo.Brands.ComunTitle, { size: "S" }),
991
- /* @__PURE__ */ jsx(Logo.Brands.ComunTitle, { size: "R" }),
992
- /* @__PURE__ */ jsx(Logo.Brands.ComunTitle, { size: "L" }),
993
- /* @__PURE__ */ jsx(Logo.Brands.ComunTitle, { size: "2L" }),
994
- /* @__PURE__ */ jsx(Logo.Brands.ComunTitle, { size: "3L" })
995
- ] }),
996
- /* @__PURE__ */ jsxs(Row.Left, { gap: 2, children: [
997
- /* @__PURE__ */ jsx(Logo.Brands.ComunLogoH, { size: "S" }),
998
- /* @__PURE__ */ jsx(Logo.Brands.ComunLogoH, { size: "R" }),
999
- /* @__PURE__ */ jsx(Logo.Brands.ComunLogoH, { size: "L" }),
1000
- /* @__PURE__ */ jsx(Logo.Brands.ComunLogoH, { size: "2L" }),
1001
- /* @__PURE__ */ jsx(Logo.Brands.ComunLogoH, { size: "3L" })
1002
- ] }),
1003
- /* @__PURE__ */ jsxs(Row.Left, { gap: 2, children: [
1004
- /* @__PURE__ */ jsx(Logo.Brands.ComunLogoV, { size: "S" }),
1005
- /* @__PURE__ */ jsx(Logo.Brands.ComunLogoV, { size: "R" }),
1006
- /* @__PURE__ */ jsx(Logo.Brands.ComunLogoV, { size: "L" }),
1007
- /* @__PURE__ */ jsx(Logo.Brands.ComunLogoV, { size: "2L" }),
1008
- /* @__PURE__ */ jsx(Logo.Brands.ComunLogoV, { size: "3L" })
1009
- ] })
1010
- ]
1011
- }
1012
- )
1013
- }
1014
- )
1015
- ] });
1016
- },
1017
- Mingoo: () => {
1018
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
1019
- /* @__PURE__ */ jsx(
1020
- Text.SubTitle,
1021
- {
1022
- padding: 1,
1023
- borderBottom: true,
1024
- children: "Mingoo"
1025
- }
1026
- ),
1027
- /* @__PURE__ */ jsx(
1028
- Box,
1029
- {
1030
- padding: 1,
1031
- overflow: "auto",
1032
- children: /* @__PURE__ */ jsxs(
1033
- Row.Center,
1034
- {
1035
- flexType: "col",
1036
- gap: 2,
1037
- padding: 2,
1038
- children: [
1039
- /* @__PURE__ */ jsx(Logo.Brands.MingooIcon, { size: "S" }),
1040
- /* @__PURE__ */ jsx(Logo.Brands.MingooIcon, { size: "R" }),
1041
- /* @__PURE__ */ jsx(Logo.Brands.MingooIcon, { size: "L" }),
1042
- /* @__PURE__ */ jsx(Logo.Brands.MingooIcon, { size: "2L" }),
1043
- /* @__PURE__ */ jsx(Logo.Brands.MingooIcon, { size: "3L" })
1044
- ]
1045
- }
1046
- )
1047
- }
1048
- )
1049
- ] });
1050
- },
1051
- Google: () => {
1052
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
1053
- /* @__PURE__ */ jsx(
1054
- Text.SubTitle,
1055
- {
1056
- padding: 1,
1057
- borderBottom: true,
1058
- children: "Google"
1059
- }
1060
- ),
1061
- /* @__PURE__ */ jsx(
1062
- Box,
1063
- {
1064
- padding: 1,
1065
- overflow: "auto",
1066
- children: /* @__PURE__ */ jsxs(
1067
- Row.Center,
1068
- {
1069
- flexType: "col",
1070
- gap: 2,
1071
- padding: 2,
1072
- children: [
1073
- /* @__PURE__ */ jsx(Logo.Brands.Google, { size: "S" }),
1074
- /* @__PURE__ */ jsx(Logo.Brands.Google, { size: "R" }),
1075
- /* @__PURE__ */ jsx(Logo.Brands.Google, { size: "L" }),
1076
- /* @__PURE__ */ jsx(Logo.Brands.Google, { size: "2L" }),
1077
- /* @__PURE__ */ jsx(Logo.Brands.Google, { size: "3L" })
1078
- ]
1079
- }
1080
- )
1081
- }
1082
- )
1083
- ] });
1084
- },
1085
- Facebook: () => {
1086
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
1087
- /* @__PURE__ */ jsx(
1088
- Text.SubTitle,
1089
- {
1090
- padding: 1,
1091
- borderBottom: true,
1092
- children: "Facebook"
1093
- }
1094
- ),
1095
- /* @__PURE__ */ jsx(
1096
- Box,
1097
- {
1098
- padding: 1,
1099
- overflow: "auto",
1100
- children: /* @__PURE__ */ jsxs(
1101
- Row.Center,
1102
- {
1103
- flexType: "col",
1104
- gap: 2,
1105
- padding: 2,
1106
- children: [
1107
- /* @__PURE__ */ jsx(Logo.Brands.Facebook, { size: "S" }),
1108
- /* @__PURE__ */ jsx(Logo.Brands.Facebook, { size: "R" }),
1109
- /* @__PURE__ */ jsx(Logo.Brands.Facebook, { size: "L" }),
1110
- /* @__PURE__ */ jsx(Logo.Brands.Facebook, { size: "2L" }),
1111
- /* @__PURE__ */ jsx(Logo.Brands.Facebook, { size: "3L" })
1112
- ]
1113
- }
1114
- )
1115
- }
1116
- )
1117
- ] });
1118
- },
1119
- Line: () => {
1120
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
1121
- /* @__PURE__ */ jsx(
1122
- Text.SubTitle,
1123
- {
1124
- padding: 1,
1125
- borderBottom: true,
1126
- children: "LINE"
1127
- }
1128
- ),
1129
- /* @__PURE__ */ jsx(
1130
- Box,
1131
- {
1132
- padding: 1,
1133
- overflow: "auto",
1134
- children: /* @__PURE__ */ jsxs(
1135
- Row.Center,
1136
- {
1137
- flexType: "col",
1138
- gap: 2,
1139
- padding: 2,
1140
- children: [
1141
- /* @__PURE__ */ jsx(Logo.Brands.LINE, { size: "S" }),
1142
- /* @__PURE__ */ jsx(Logo.Brands.LINE, { size: "R" }),
1143
- /* @__PURE__ */ jsx(Logo.Brands.LINE, { size: "L" }),
1144
- /* @__PURE__ */ jsx(Logo.Brands.LINE, { size: "2L" }),
1145
- /* @__PURE__ */ jsx(Logo.Brands.LINE, { size: "3L" })
1146
- ]
1147
- }
1148
- )
1149
- }
1150
- )
1151
- ] });
1152
- },
1153
- Twitter: () => {
1154
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
1155
- /* @__PURE__ */ jsx(
1156
- Text.SubTitle,
1157
- {
1158
- padding: 1,
1159
- borderBottom: true,
1160
- children: "Twitter"
1161
- }
1162
- ),
1163
- /* @__PURE__ */ jsx(
1164
- Box,
1165
- {
1166
- padding: 1,
1167
- overflow: "auto",
1168
- children: /* @__PURE__ */ jsxs(
1169
- Row.Center,
1170
- {
1171
- flexType: "col",
1172
- gap: 2,
1173
- padding: 2,
1174
- children: [
1175
- /* @__PURE__ */ jsx(Logo.Brands.Twitter, { size: "S" }),
1176
- /* @__PURE__ */ jsx(Logo.Brands.Twitter, { size: "R" }),
1177
- /* @__PURE__ */ jsx(Logo.Brands.Twitter, { size: "L" }),
1178
- /* @__PURE__ */ jsx(Logo.Brands.Twitter, { size: "2L" }),
1179
- /* @__PURE__ */ jsx(Logo.Brands.Twitter, { size: "3L" })
1180
- ]
1181
- }
1182
- )
1183
- }
1184
- )
1185
- ] });
1186
- }
1187
- };
1188
- const Effections = {
1189
- _: () => {
1190
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1191
- /* @__PURE__ */ jsx(Effections.Ripple, {}),
1192
- /* @__PURE__ */ jsx(Effections.Variables, {}),
1193
- /* @__PURE__ */ jsx(Effections.Tooltips, {}),
1194
- /* @__PURE__ */ jsx(Effections.Snackbar, {})
1195
- ] });
1196
- },
1197
- Ripple: () => {
1198
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
1199
- /* @__PURE__ */ jsx(
1200
- Text.SubTitle,
1201
- {
1202
- padding: 1,
1203
- borderBottom: true,
1204
- children: "Ripple"
1205
- }
1206
- ),
1207
- /* @__PURE__ */ jsxs(
1208
- Column,
1209
- {
1210
- padding: 2,
1211
- children: [
1212
- /* @__PURE__ */ jsx(Text.Description, { children: `<Element
63
+ `})},{children:e(T,{src:l.Images.defaultIcon("user"),alt:"noImage",freeCSS:{maxHeight:12*8,maxWidth:12*8}})}]]})})]})},f={_:()=>t(d,{children:[e(f.Comun,{}),e(f.Mingoo,{}),e(f.Google,{}),e(f.Facebook,{}),e(f.Line,{}),e(f.Twitter,{})]}),Comun:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Comun"}),e(o,{padding:1,overflow:"auto",children:t(h,{padding:2,children:[t(B.Left,{gap:2,children:[e(l.Brands.ComunIcon,{size:"S"}),e(l.Brands.ComunIcon,{size:"R"}),e(l.Brands.ComunIcon,{size:"L"}),e(l.Brands.ComunIcon,{size:"2L"}),e(l.Brands.ComunIcon,{size:"3L"})]}),t(B.Left,{gap:2,children:[e(l.Brands.ComunTitle,{size:"S"}),e(l.Brands.ComunTitle,{size:"R"}),e(l.Brands.ComunTitle,{size:"L"}),e(l.Brands.ComunTitle,{size:"2L"}),e(l.Brands.ComunTitle,{size:"3L"})]}),t(B.Left,{gap:2,children:[e(l.Brands.ComunLogoH,{size:"S"}),e(l.Brands.ComunLogoH,{size:"R"}),e(l.Brands.ComunLogoH,{size:"L"}),e(l.Brands.ComunLogoH,{size:"2L"}),e(l.Brands.ComunLogoH,{size:"3L"})]}),t(B.Left,{gap:2,children:[e(l.Brands.ComunLogoV,{size:"S"}),e(l.Brands.ComunLogoV,{size:"R"}),e(l.Brands.ComunLogoV,{size:"L"}),e(l.Brands.ComunLogoV,{size:"2L"}),e(l.Brands.ComunLogoV,{size:"3L"})]})]})})]}),Mingoo:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Mingoo"}),e(o,{padding:1,overflow:"auto",children:t(B.Center,{flexType:"col",gap:2,padding:2,children:[e(l.Brands.MingooIcon,{size:"S"}),e(l.Brands.MingooIcon,{size:"R"}),e(l.Brands.MingooIcon,{size:"L"}),e(l.Brands.MingooIcon,{size:"2L"}),e(l.Brands.MingooIcon,{size:"3L"})]})})]}),Google:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Google"}),e(o,{padding:1,overflow:"auto",children:t(B.Center,{flexType:"col",gap:2,padding:2,children:[e(l.Brands.Google,{size:"S"}),e(l.Brands.Google,{size:"R"}),e(l.Brands.Google,{size:"L"}),e(l.Brands.Google,{size:"2L"}),e(l.Brands.Google,{size:"3L"})]})})]}),Facebook:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Facebook"}),e(o,{padding:1,overflow:"auto",children:t(B.Center,{flexType:"col",gap:2,padding:2,children:[e(l.Brands.Facebook,{size:"S"}),e(l.Brands.Facebook,{size:"R"}),e(l.Brands.Facebook,{size:"L"}),e(l.Brands.Facebook,{size:"2L"}),e(l.Brands.Facebook,{size:"3L"})]})})]}),Line:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"LINE"}),e(o,{padding:1,overflow:"auto",children:t(B.Center,{flexType:"col",gap:2,padding:2,children:[e(l.Brands.LINE,{size:"S"}),e(l.Brands.LINE,{size:"R"}),e(l.Brands.LINE,{size:"L"}),e(l.Brands.LINE,{size:"2L"}),e(l.Brands.LINE,{size:"3L"})]})})]}),Twitter:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Twitter"}),e(o,{padding:1,overflow:"auto",children:t(B.Center,{flexType:"col",gap:2,padding:2,children:[e(l.Brands.Twitter,{size:"S"}),e(l.Brands.Twitter,{size:"R"}),e(l.Brands.Twitter,{size:"L"}),e(l.Brands.Twitter,{size:"2L"}),e(l.Brands.Twitter,{size:"3L"})]})})]})},L={_:()=>t(d,{children:[e(L.Ripple,{}),e(L.Variables,{}),e(L.Tooltips,{}),e(L.Snackbar,{})]}),Ripple:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Ripple"}),t(h,{padding:2,children:[e(n.Description,{children:`<Element
1213
64
  ssEffectsOnActive={ 'ripple.( cloud | theme | nega | posi | warn )' }
1214
- />` }),
1215
- /* @__PURE__ */ jsxs(Row.Center, { children: [
1216
- /* @__PURE__ */ jsx(
1217
- Button.Button.Prime.R,
1218
- {
1219
- ssEffectsOnActive: ["ripple.white"],
1220
- children: "White"
1221
- }
1222
- ),
1223
- /* @__PURE__ */ jsx(
1224
- Button.Button.Border.R,
1225
- {
1226
- ssEffectsOnActive: ["ripple.cloud"],
1227
- children: "Cloud"
1228
- }
1229
- ),
1230
- /* @__PURE__ */ jsx(
1231
- Button.Button.Border.R,
1232
- {
1233
- children: "Theme",
1234
- ssEffectsOnActive: ["ripple.theme"]
1235
- }
1236
- )
1237
- ] })
1238
- ]
1239
- }
1240
- )
1241
- ] });
1242
- },
1243
- Variables: () => {
1244
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
1245
- /* @__PURE__ */ jsx(
1246
- Text.SubTitle,
1247
- {
1248
- padding: 1,
1249
- borderBottom: true,
1250
- children: "Effects"
1251
- }
1252
- ),
1253
- /* @__PURE__ */ jsxs(
1254
- Column,
1255
- {
1256
- padding: 2,
1257
- children: [
1258
- /* @__PURE__ */ jsx(Text.Description, { children: `<Button
65
+ />`}),t(B.Center,{children:[e(r.Button.Prime.R,{ssEffectsOnActive:["ripple.white"],children:"White"}),e(r.Button.Border.R,{ssEffectsOnActive:["ripple.cloud"],children:"Cloud"}),e(r.Button.Border.R,{children:"Theme",ssEffectsOnActive:["ripple.theme"]})]})]})]}),Variables:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Effects"}),t(h,{padding:2,children:[e(n.Description,{children:`<Button
1259
66
  ssEffectsOnActive={ 'shrink' }
1260
- />` }),
1261
- /* @__PURE__ */ jsx(Row.Left, { children: /* @__PURE__ */ jsx(
1262
- Button.Button.Prime.R,
1263
- {
1264
- onClick: () => {
1265
- Loader.fn.mini.active("testLoadingKey");
1266
- setTimeout(() => {
1267
- Loader.fn.stopALL();
1268
- }, 5e3);
1269
- },
1270
- children: /* @__PURE__ */ jsxs(
1271
- Row.Center,
1272
- {
1273
- gap: 0,
1274
- children: [
1275
- /* @__PURE__ */ jsx(
1276
- Loader.White.S,
1277
- {
1278
- loaderID: "testLoadingKey",
1279
- marginRight: 1
1280
- }
1281
- ),
1282
- /* @__PURE__ */ jsx(
1283
- Box,
1284
- {
1285
- textAlign: "left",
1286
- children: "Launch Mini Loader"
1287
- }
1288
- )
1289
- ]
1290
- }
1291
- )
1292
- }
1293
- ) }),
1294
- /* @__PURE__ */ jsxs(Row.Left, { children: [
1295
- /* @__PURE__ */ jsx(
1296
- Button.Button.Border.R,
1297
- {
1298
- children: "Shrink",
1299
- ssEffectsOnActive: "shrink"
1300
- }
1301
- ),
1302
- /* @__PURE__ */ jsx(
1303
- Button.Button.Border.R,
1304
- {
1305
- children: "Pudding",
1306
- ssEffectsOnActive: "pudding"
1307
- }
1308
- ),
1309
- /* @__PURE__ */ jsx(
1310
- Button.Button.Border.R,
1311
- {
1312
- children: "Expand",
1313
- ssEffectsOnActive: "expand"
1314
- }
1315
- ),
1316
- /* @__PURE__ */ jsx(
1317
- Button.Button.Border.R,
1318
- {
1319
- children: "corner Loader",
1320
- onClick: () => {
1321
- Loader.fn.corner.active();
1322
- setTimeout(() => {
1323
- Loader.fn.corner.stop();
1324
- }, 3e3);
1325
- }
1326
- }
1327
- ),
1328
- /* @__PURE__ */ jsx(
1329
- Button.Button.Border.R,
1330
- {
1331
- children: "top Loader",
1332
- onClick: () => {
1333
- Loader.fn.top.active();
1334
- setTimeout(() => {
1335
- Loader.fn.top.stop();
1336
- }, 7e3);
1337
- }
1338
- }
1339
- )
1340
- ] })
1341
- ]
1342
- }
1343
- )
1344
- ] });
1345
- },
1346
- Tooltips: () => {
1347
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
1348
- /* @__PURE__ */ jsx(
1349
- Text.SubTitle,
1350
- {
1351
- padding: 1,
1352
- borderBottom: true,
1353
- children: "ToolTips"
1354
- }
1355
- ),
1356
- /* @__PURE__ */ jsx(
1357
- Grid,
1358
- {
1359
- gridCols: 5,
1360
- gap: 1,
1361
- padding: 2,
1362
- children: Array.from({ length: 25 }).map((a, index) => {
1363
- return /* @__PURE__ */ jsxs(
1364
- Button.Button.Border.R,
1365
- {
1366
- padding: 2,
1367
- onMouseOver: (e) => {
1368
- let tipsID = $$.uuid.gen();
1369
- Tooltips.open({
1370
- tipsID: "tips-" + (index + 1) + "---" + tipsID,
1371
- parent: e.currentTarget,
1372
- gravityPoint: index + 1,
1373
- padding: 0,
1374
- content: /* @__PURE__ */ jsx(
1375
- Tooltips.Comps.Body,
1376
- {
1377
- children: index
1378
- },
1379
- index
1380
- )
1381
- });
1382
- },
1383
- children: [
1384
- "GravityPoint",
1385
- index + 1
1386
- ]
1387
- }
1388
- );
1389
- })
1390
- }
1391
- )
1392
- ] });
1393
- },
1394
- Snackbar: () => {
1395
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
1396
- /* @__PURE__ */ jsx(
1397
- Text.SubTitle,
1398
- {
1399
- padding: 1,
1400
- borderBottom: true,
1401
- children: "Snackbars"
1402
- }
1403
- ),
1404
- /* @__PURE__ */ jsxs(
1405
- Row.Center,
1406
- {
1407
- padding: 2,
1408
- children: [
1409
- /* @__PURE__ */ jsx(
1410
- Button.Button.Prime.R,
1411
- {
1412
- onClick: () => {
1413
- Snackbar.add({
1414
- children: "hello World!!"
1415
- });
1416
- },
1417
- children: "Add Normal Snackbar"
1418
- }
1419
- ),
1420
- /* @__PURE__ */ jsx(
1421
- Button.Button.Prime.R,
1422
- {
1423
- onClick: () => {
1424
- Snackbar.add({
1425
- secondsToClose: 30,
1426
- children: /* @__PURE__ */ jsxs(
1427
- Row.Separate,
1428
- {
1429
- verticalAlign: "baseline",
1430
- paddingLeft: "2/3",
1431
- children: [
1432
- "\u4E88\u7D04\u6642\u9593\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",
1433
- /* @__PURE__ */ jsx(
1434
- Button.Button.Clear.S,
1435
- {
1436
- color: "white",
1437
- fontColor: "posi",
1438
- children: "\u5143\u306B\u623B\u3059"
1439
- }
1440
- )
1441
- ]
1442
- }
1443
- )
1444
- });
1445
- },
1446
- children: "Notices"
1447
- }
1448
- ),
1449
- /* @__PURE__ */ jsx(
1450
- Button.Button.Prime.R,
1451
- {
1452
- onClick: () => {
1453
- let snackID = $$.uuid.gen();
1454
- Snackbar.add({
1455
- snackID,
1456
- children: /* @__PURE__ */ jsxs(
1457
- Column,
1458
- {
1459
- padding: 1,
1460
- children: [
1461
- /* @__PURE__ */ jsxs(
1462
- Row.Left,
1463
- {
1464
- verticalAlign: "top",
1465
- children: [
1466
- /* @__PURE__ */ jsx(
1467
- Img,
1468
- {
1469
- src: Logo.Images.defaultIcon("user"),
1470
- ssSphere: 4
1471
- }
1472
- ),
1473
- /* @__PURE__ */ jsx(Text.Description, { children: `Some Text
67
+ />`}),e(B.Left,{children:e(r.Button.Prime.R,{onClick:()=>{C.fn.mini.active("testLoadingKey"),setTimeout(()=>{C.fn.stopALL()},5e3)},children:t(B.Center,{gap:0,children:[e(C.White.S,{loaderID:"testLoadingKey",marginRight:1}),e(o,{textAlign:"left",children:"Launch Mini Loader"})]})})}),t(B.Left,{children:[e(r.Button.Border.R,{children:"Shrink",ssEffectsOnActive:"shrink"}),e(r.Button.Border.R,{children:"Pudding",ssEffectsOnActive:"pudding"}),e(r.Button.Border.R,{children:"Expand",ssEffectsOnActive:"expand"}),e(r.Button.Border.R,{children:"corner Loader",onClick:()=>{C.fn.corner.active(),setTimeout(()=>{C.fn.corner.stop()},3e3)}}),e(r.Button.Border.R,{children:"top Loader",onClick:()=>{C.fn.top.active(),setTimeout(()=>{C.fn.top.stop()},7e3)}})]})]})]}),Tooltips:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"ToolTips"}),e(p,{gridCols:5,gap:1,padding:2,children:Array.from({length:25}).map((a,u)=>t(r.Button.Border.R,{padding:2,onMouseOver:s=>{let x=w.uuid.gen();F.open({tipsID:"tips-"+(u+1)+"---"+x,parent:s.currentTarget,gravityPoint:u+1,padding:0,content:e(F.Comps.Body,{children:u},u)})},children:["GravityPoint",u+1]}))})]}),Snackbar:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Snackbars"}),t(B.Center,{padding:2,children:[e(r.Button.Prime.R,{onClick:()=>{z.add({children:"hello World!!"})},children:"Add Normal Snackbar"}),e(r.Button.Prime.R,{onClick:()=>{z.add({secondsToClose:30,children:t(B.Separate,{verticalAlign:"baseline",paddingLeft:"2/3",children:["\u4E88\u7D04\u6642\u9593\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",e(r.Button.Clear.S,{color:"white",fontColor:"posi",children:"\u5143\u306B\u623B\u3059"})]})})},children:"Notices"}),e(r.Button.Prime.R,{onClick:()=>{let a=w.uuid.gen();z.add({snackID:a,children:t(h,{padding:1,children:[t(B.Left,{verticalAlign:"top",children:[e(T,{src:l.Images.defaultIcon("user"),ssSphere:4}),e(n.Description,{children:`Some Text
1474
68
  Some Text
1475
- Some Text` })
1476
- ]
1477
- }
1478
- ),
1479
- /* @__PURE__ */ jsxs(Row.Separate, { children: [
1480
- /* @__PURE__ */ jsx(
1481
- Button.Button.Sub.S,
1482
- {
1483
- color: "white",
1484
- onClick: () => {
1485
- Snackbar.remove(snackID);
1486
- },
1487
- children: "\u9589\u3058\u308B"
1488
- }
1489
- ),
1490
- /* @__PURE__ */ jsx(
1491
- Button.Anchor.Prime.S,
1492
- {
1493
- href: "https://google.com",
1494
- children: "\u8A73\u7D30"
1495
- }
1496
- )
1497
- ] })
1498
- ]
1499
- }
1500
- )
1501
- });
1502
- },
1503
- children: "Message"
1504
- }
1505
- )
1506
- ]
1507
- }
1508
- )
1509
- ] });
1510
- }
1511
- };
1512
- const Buttons = {
1513
- _: () => {
1514
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1515
- /* @__PURE__ */ jsx(Buttons.Types, {}),
1516
- /* @__PURE__ */ jsx(Buttons.Tone, {}),
1517
- /* @__PURE__ */ jsx(Buttons.Segmented, {})
1518
- ] });
1519
- },
1520
- Tone: () => {
1521
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
1522
- /* @__PURE__ */ jsx(
1523
- Text.SubTitle,
1524
- {
1525
- padding: 1,
1526
- borderBottom: true,
1527
- children: "Tone"
1528
- }
1529
- ),
1530
- /* @__PURE__ */ jsx(
1531
- Box,
1532
- {
1533
- padding: 1,
1534
- overflow: "auto",
1535
- children: /* @__PURE__ */ jsxs(
1536
- Grid,
1537
- {
1538
- gridCols: 2,
1539
- gap: 2,
1540
- children: [
1541
- /* @__PURE__ */ jsxs(Box, { children: [
1542
- /* @__PURE__ */ jsx(
1543
- Box,
1544
- {
1545
- padding: 1,
1546
- fontSize: "3.paragraph",
1547
- isBoldFont: true,
1548
- children: "\u30FBPrime"
1549
- }
1550
- ),
1551
- /* @__PURE__ */ jsxs(
1552
- Grid,
1553
- {
1554
- gridCols: 3,
1555
- gap: 1,
1556
- padding: 1,
1557
- children: [
1558
- /* @__PURE__ */ jsx(
1559
- Button.Button.Prime.R,
1560
- {
1561
- color: "theme",
1562
- children: "theme"
1563
- }
1564
- ),
1565
- /* @__PURE__ */ jsx(
1566
- Button.Button.Prime.R,
1567
- {
1568
- color: "coffee",
1569
- children: "posi"
1570
- }
1571
- ),
1572
- /* @__PURE__ */ jsx(
1573
- Button.Button.Prime.R,
1574
- {
1575
- color: "ninja",
1576
- children: "nega"
1577
- }
1578
- ),
1579
- /* @__PURE__ */ jsx(
1580
- Button.Button.Prime.R,
1581
- {
1582
- color: "droplet",
1583
- children: "warn"
1584
- }
1585
- ),
1586
- /* @__PURE__ */ jsx(
1587
- Button.Button.Prime.R,
1588
- {
1589
- color: "googleBlue",
1590
- children: "mono"
1591
- }
1592
- ),
1593
- /* @__PURE__ */ jsx(
1594
- Button.Button.Prime.R,
1595
- {
1596
- color: "poizon",
1597
- children: "pozion"
1598
- }
1599
- )
1600
- ]
1601
- }
1602
- )
1603
- ] }),
1604
- /* @__PURE__ */ jsxs(Box, { children: [
1605
- /* @__PURE__ */ jsx(
1606
- Box,
1607
- {
1608
- padding: 1,
1609
- fontSize: "3.paragraph",
1610
- isBoldFont: true,
1611
- children: "\u30FBSub"
1612
- }
1613
- ),
1614
- /* @__PURE__ */ jsxs(
1615
- Grid,
1616
- {
1617
- gridCols: 3,
1618
- gap: 1,
1619
- padding: 1,
1620
- children: [
1621
- /* @__PURE__ */ jsx(
1622
- Button.Button.Sub.R,
1623
- {
1624
- color: "theme",
1625
- children: "theme"
1626
- }
1627
- ),
1628
- /* @__PURE__ */ jsx(
1629
- Button.Button.Sub.R,
1630
- {
1631
- color: "posi",
1632
- children: "posi"
1633
- }
1634
- ),
1635
- /* @__PURE__ */ jsx(
1636
- Button.Button.Sub.R,
1637
- {
1638
- color: "nega",
1639
- children: "nega"
1640
- }
1641
- ),
1642
- /* @__PURE__ */ jsx(
1643
- Button.Button.Sub.R,
1644
- {
1645
- color: "warn",
1646
- children: "warn"
1647
- }
1648
- ),
1649
- /* @__PURE__ */ jsx(
1650
- Button.Button.Sub.R,
1651
- {
1652
- color: "cloud",
1653
- children: "cloud"
1654
- }
1655
- )
1656
- ]
1657
- }
1658
- ),
1659
- /* @__PURE__ */ jsxs(
1660
- Grid,
1661
- {
1662
- gridCols: 3,
1663
- gap: 1,
1664
- padding: 1,
1665
- backgroundColor: "dark",
1666
- ssCardBox: true,
1667
- children: [
1668
- /* @__PURE__ */ jsx(
1669
- Button.Button.Sub.R,
1670
- {
1671
- color: "white",
1672
- children: "white"
1673
- }
1674
- ),
1675
- /* @__PURE__ */ jsx(
1676
- Button.Button.Sub.R,
1677
- {
1678
- color: "cloud",
1679
- children: "cloud"
1680
- }
1681
- )
1682
- ]
1683
- }
1684
- )
1685
- ] }),
1686
- /* @__PURE__ */ jsxs(Box, { children: [
1687
- /* @__PURE__ */ jsx(
1688
- Box,
1689
- {
1690
- padding: 1,
1691
- fontSize: "3.paragraph",
1692
- isBoldFont: true,
1693
- children: "\u30FBClear"
1694
- }
1695
- ),
1696
- /* @__PURE__ */ jsxs(
1697
- Grid,
1698
- {
1699
- gridCols: 3,
1700
- gap: 1,
1701
- padding: 1,
1702
- children: [
1703
- /* @__PURE__ */ jsx(
1704
- Button.Button.Clear.R,
1705
- {
1706
- color: "theme",
1707
- children: "theme"
1708
- }
1709
- ),
1710
- /* @__PURE__ */ jsx(
1711
- Button.Button.Clear.R,
1712
- {
1713
- color: "posi",
1714
- children: "posi"
1715
- }
1716
- ),
1717
- /* @__PURE__ */ jsx(
1718
- Button.Button.Clear.R,
1719
- {
1720
- color: "nega",
1721
- children: "nega"
1722
- }
1723
- ),
1724
- /* @__PURE__ */ jsx(
1725
- Button.Button.Clear.R,
1726
- {
1727
- color: "warn",
1728
- children: "warn"
1729
- }
1730
- ),
1731
- /* @__PURE__ */ jsx(
1732
- Button.Button.Clear.R,
1733
- {
1734
- color: "cloud",
1735
- children: "cloud"
1736
- }
1737
- )
1738
- ]
1739
- }
1740
- ),
1741
- /* @__PURE__ */ jsxs(
1742
- Grid,
1743
- {
1744
- gridCols: 3,
1745
- gap: 1,
1746
- padding: 1,
1747
- backgroundColor: "dark",
1748
- ssCardBox: true,
1749
- children: [
1750
- /* @__PURE__ */ jsx(
1751
- Button.Button.Clear.R,
1752
- {
1753
- color: "white",
1754
- children: "white"
1755
- }
1756
- ),
1757
- /* @__PURE__ */ jsx(
1758
- Button.Button.Clear.R,
1759
- {
1760
- color: "cloud",
1761
- children: "cloud"
1762
- }
1763
- )
1764
- ]
1765
- }
1766
- )
1767
- ] }),
1768
- /* @__PURE__ */ jsxs(Box, { children: [
1769
- /* @__PURE__ */ jsx(
1770
- Box,
1771
- {
1772
- padding: 1,
1773
- fontSize: "3.paragraph",
1774
- isBoldFont: true,
1775
- children: "\u30FBFillToBorder"
1776
- }
1777
- ),
1778
- /* @__PURE__ */ jsxs(
1779
- Grid,
1780
- {
1781
- gridCols: 3,
1782
- gap: 1,
1783
- padding: 1,
1784
- children: [
1785
- /* @__PURE__ */ jsx(
1786
- Button.Button.FillToBorder.R,
1787
- {
1788
- color: "theme",
1789
- children: "theme"
1790
- }
1791
- ),
1792
- /* @__PURE__ */ jsx(
1793
- Button.Button.FillToBorder.R,
1794
- {
1795
- color: "posi",
1796
- children: "posi"
1797
- }
1798
- ),
1799
- /* @__PURE__ */ jsx(
1800
- Button.Button.FillToBorder.R,
1801
- {
1802
- color: "nega",
1803
- children: "nega"
1804
- }
1805
- ),
1806
- /* @__PURE__ */ jsx(
1807
- Button.Button.FillToBorder.R,
1808
- {
1809
- color: "warn",
1810
- children: "warn"
1811
- }
1812
- )
1813
- ]
1814
- }
1815
- ),
1816
- /* @__PURE__ */ jsxs(
1817
- Grid,
1818
- {
1819
- gridCols: 3,
1820
- gap: 1,
1821
- padding: 1,
1822
- backgroundColor: "dark",
1823
- ssCardBox: true,
1824
- children: [
1825
- /* @__PURE__ */ jsx(
1826
- Button.Button.FillToBorder.R,
1827
- {
1828
- color: "white",
1829
- children: "white"
1830
- }
1831
- ),
1832
- /* @__PURE__ */ jsx(
1833
- Button.Button.FillToBorder.R,
1834
- {
1835
- color: "cloud",
1836
- children: "cloud"
1837
- }
1838
- )
1839
- ]
1840
- }
1841
- )
1842
- ] }),
1843
- /* @__PURE__ */ jsxs(Box, { children: [
1844
- /* @__PURE__ */ jsx(
1845
- Box,
1846
- {
1847
- padding: 1,
1848
- fontSize: "3.paragraph",
1849
- isBoldFont: true,
1850
- children: "\u30FBBorderToFill"
1851
- }
1852
- ),
1853
- /* @__PURE__ */ jsxs(
1854
- Grid,
1855
- {
1856
- gridCols: 3,
1857
- gap: 1,
1858
- padding: 1,
1859
- children: [
1860
- /* @__PURE__ */ jsx(
1861
- Button.Button.BorderToFill.R,
1862
- {
1863
- color: "theme",
1864
- fontColor: "nega",
1865
- children: /* @__PURE__ */ jsx(Box, { children: "theme" })
1866
- }
1867
- ),
1868
- /* @__PURE__ */ jsx(
1869
- Button.Button.BorderToFill.R,
1870
- {
1871
- color: "posi",
1872
- children: "posi"
1873
- }
1874
- ),
1875
- /* @__PURE__ */ jsx(
1876
- Button.Button.BorderToFill.R,
1877
- {
1878
- color: "nega",
1879
- children: "nega"
1880
- }
1881
- ),
1882
- /* @__PURE__ */ jsx(
1883
- Button.Button.BorderToFill.R,
1884
- {
1885
- color: "warn",
1886
- children: "warn"
1887
- }
1888
- )
1889
- ]
1890
- }
1891
- ),
1892
- /* @__PURE__ */ jsxs(
1893
- Grid,
1894
- {
1895
- gridCols: 3,
1896
- gap: 1,
1897
- padding: 1,
1898
- backgroundColor: "dark",
1899
- ssCardBox: true,
1900
- children: [
1901
- /* @__PURE__ */ jsx(
1902
- Button.Button.BorderToFill.R,
1903
- {
1904
- color: "white",
1905
- children: "white"
1906
- }
1907
- ),
1908
- /* @__PURE__ */ jsx(
1909
- Button.Button.BorderToFill.R,
1910
- {
1911
- color: "cloud",
1912
- children: "cloud"
1913
- }
1914
- )
1915
- ]
1916
- }
1917
- )
1918
- ] }),
1919
- /* @__PURE__ */ jsxs(Box, { children: [
1920
- /* @__PURE__ */ jsx(
1921
- Box,
1922
- {
1923
- padding: 1,
1924
- fontSize: "3.paragraph",
1925
- isBoldFont: true,
1926
- children: "\u30FBOthers"
1927
- }
1928
- ),
1929
- /* @__PURE__ */ jsxs(
1930
- Grid,
1931
- {
1932
- gridCols: 3,
1933
- gap: 1,
1934
- padding: 1,
1935
- children: [
1936
- /* @__PURE__ */ jsx(
1937
- Button.Button.Border.R,
1938
- {
1939
- children: "Border"
1940
- }
1941
- ),
1942
- /* @__PURE__ */ jsx(
1943
- Button.Button.Normal.R,
1944
- {
1945
- children: "Normal"
1946
- }
1947
- ),
1948
- /* @__PURE__ */ jsx(
1949
- Button.Button.Link,
1950
- {
1951
- children: "Link"
1952
- }
1953
- ),
1954
- /* @__PURE__ */ jsx(
1955
- Button.Button.Plain,
1956
- {
1957
- children: "Plain"
1958
- }
1959
- )
1960
- ]
1961
- }
1962
- )
1963
- ] })
1964
- ]
1965
- }
1966
- )
1967
- }
1968
- )
1969
- ] });
1970
- },
1971
- Types: () => {
1972
- return /* @__PURE__ */ jsxs(
1973
- Flex,
1974
- {
1975
- gap: 2,
1976
- flexChilds: "auto",
1977
- children: [
1978
- /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
1979
- /* @__PURE__ */ jsx(
1980
- Text.ThirdTitle,
1981
- {
1982
- padding: 1,
1983
- borderBottom: true,
1984
- children: "\u30FBButton"
1985
- }
1986
- ),
1987
- /* @__PURE__ */ jsx(
1988
- Box,
1989
- {
1990
- padding: 1,
1991
- overflow: "auto",
1992
- children: /* @__PURE__ */ jsx(
1993
- List,
1994
- {
1995
- rowStyles: {
1996
- padding: [1, 0],
1997
- horizontalAlign: "between",
1998
- borderBottom: "2.normal"
1999
- },
2000
- rows: [
2001
- {
2002
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
2003
- /* @__PURE__ */ jsx(Box, { children: "<Button.Button.Prime ... />" }),
2004
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
2005
- Button.Button.Prime.R,
2006
- {
2007
- children: "Button.Prime"
2008
- }
2009
- ) })
2010
- ] })
2011
- },
2012
- {
2013
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
2014
- /* @__PURE__ */ jsx(Box, { children: "<Button.Button.Sub ... />" }),
2015
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
2016
- Button.Button.Sub.R,
2017
- {
2018
- children: "Button.Sub AAAA"
2019
- }
2020
- ) })
2021
- ] })
2022
- },
2023
- {
2024
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
2025
- /* @__PURE__ */ jsx(Box, { children: "<Button.Button.Border ... />" }),
2026
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
2027
- Button.Button.Border.R,
2028
- {
2029
- children: "Button.Border"
2030
- }
2031
- ) })
2032
- ] }),
2033
- borderBottom: "unset"
2034
- }
2035
- ]
2036
- }
2037
- )
2038
- }
2039
- )
2040
- ] }),
2041
- /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
2042
- /* @__PURE__ */ jsx(
2043
- Text.ThirdTitle,
2044
- {
2045
- padding: 1,
2046
- borderBottom: true,
2047
- children: "\u30FBLabel"
2048
- }
2049
- ),
2050
- /* @__PURE__ */ jsx(
2051
- Box,
2052
- {
2053
- padding: 1,
2054
- overflow: "auto",
2055
- children: /* @__PURE__ */ jsx(
2056
- List,
2057
- {
2058
- rowStyles: {
2059
- padding: [1, 0],
2060
- horizontalAlign: "between",
2061
- borderBottom: "2.normal"
2062
- },
2063
- rows: [
2064
- {
2065
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
2066
- /* @__PURE__ */ jsx(Box, { children: "<Button.Label.Prime ... />" }),
2067
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Button.Label.Prime.R, { children: "Label.Prime" }) })
2068
- ] })
2069
- },
2070
- {
2071
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
2072
- /* @__PURE__ */ jsx(Box, { children: "<Button.Label.Sub ... />" }),
2073
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Button.Label.Sub.R, { children: "Label.Sub" }) })
2074
- ] })
2075
- },
2076
- {
2077
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
2078
- /* @__PURE__ */ jsx(Box, { children: "<Button.Label.Border ... />" }),
2079
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
2080
- Button.Label.Border.R,
2081
- {
2082
- children: "Label.Border"
2083
- }
2084
- ) })
2085
- ] }),
2086
- borderBottom: "unset"
2087
- }
2088
- ]
2089
- }
2090
- )
2091
- }
2092
- )
2093
- ] }),
2094
- /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
2095
- /* @__PURE__ */ jsx(
2096
- Text.ThirdTitle,
2097
- {
2098
- padding: 1,
2099
- borderBottom: true,
2100
- children: "\u30FBAnchor"
2101
- }
2102
- ),
2103
- /* @__PURE__ */ jsx(
2104
- Box,
2105
- {
2106
- padding: 1,
2107
- overflow: "auto",
2108
- children: /* @__PURE__ */ jsx(
2109
- List,
2110
- {
2111
- rowStyles: {
2112
- padding: [1, 0],
2113
- horizontalAlign: "between",
2114
- borderBottom: "2.normal"
2115
- },
2116
- rows: [
2117
- {
2118
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
2119
- /* @__PURE__ */ jsx(Box, { children: "<Button.Anchor.Prime ... />" }),
2120
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
2121
- Button.Anchor.Prime.R,
2122
- {
2123
- href: "",
2124
- children: "Anchor.Prime"
2125
- }
2126
- ) })
2127
- ] })
2128
- },
2129
- {
2130
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
2131
- /* @__PURE__ */ jsx(Box, { children: "<Button.Anchor.Sub ... />" }),
2132
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
2133
- Button.Anchor.Sub.R,
2134
- {
2135
- href: "",
2136
- children: "Anchor.Sub"
2137
- }
2138
- ) })
2139
- ] })
2140
- },
2141
- {
2142
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
2143
- /* @__PURE__ */ jsx(Box, { children: "<Button.Anchor.Border ... />" }),
2144
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
2145
- Button.Anchor.Border.R,
2146
- {
2147
- href: "",
2148
- children: "Anchor.Border"
2149
- }
2150
- ) })
2151
- ] }),
2152
- borderBottom: "unset"
2153
- }
2154
- ]
2155
- }
2156
- )
2157
- }
2158
- )
2159
- ] }),
2160
- /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
2161
- /* @__PURE__ */ jsx(
2162
- Text.ThirdTitle,
2163
- {
2164
- padding: 1,
2165
- borderBottom: true,
2166
- children: "\u30FBSizes"
2167
- }
2168
- ),
2169
- /* @__PURE__ */ jsxs(
2170
- Grid,
2171
- {
2172
- gridCols: 2,
2173
- padding: 1,
2174
- gap: 2,
2175
- children: [
2176
- /* @__PURE__ */ jsx(Box, { flexCenter: true, children: /* @__PURE__ */ jsx(
2177
- Button.Button.Prime.XS,
2178
- {
2179
- children: 'size="XS"'
2180
- }
2181
- ) }),
2182
- /* @__PURE__ */ jsx(Box, { flexCenter: true, children: /* @__PURE__ */ jsx(
2183
- Button.Button.Prime.S,
2184
- {
2185
- children: 'size="S"'
2186
- }
2187
- ) }),
2188
- /* @__PURE__ */ jsx(Box, { flexCenter: true, children: /* @__PURE__ */ jsx(
2189
- Button.Button.Prime.R,
2190
- {
2191
- children: 'size="R"'
2192
- }
2193
- ) }),
2194
- /* @__PURE__ */ jsx(Box, { flexCenter: true, children: /* @__PURE__ */ jsx(
2195
- Button.Button.Prime.L,
2196
- {
2197
- children: 'size="L"'
2198
- }
2199
- ) })
2200
- ]
2201
- }
2202
- )
2203
- ] })
2204
- ]
2205
- }
2206
- );
2207
- },
2208
- Segmented: () => {
2209
- return /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
2210
- /* @__PURE__ */ jsx(
2211
- Text.ThirdTitle,
2212
- {
2213
- padding: 1,
2214
- borderBottom: true,
2215
- children: "Segmented"
2216
- }
2217
- ),
2218
- /* @__PURE__ */ jsxs(
2219
- Flex,
2220
- {
2221
- overflow: "auto",
2222
- gap: 2,
2223
- padding: 3,
2224
- children: [
2225
- /* @__PURE__ */ jsx(
2226
- Input.Segmented.Auto,
2227
- {
2228
- tone: "cloud",
2229
- value: 1,
2230
- options: [
2231
- { value: 0, label: /* @__PURE__ */ jsx(FAI.AngleLeft, {}) },
2232
- { value: 1, label: /* @__PURE__ */ jsx(FAI.AngleRight, {}) },
2233
- { value: 2, label: /* @__PURE__ */ jsx(FAI.AngleUp, {}) },
2234
- { value: 3, label: /* @__PURE__ */ jsx(FAI.AngleDown, {}) }
2235
- ]
2236
- }
2237
- ),
2238
- /* @__PURE__ */ jsx(
2239
- Input.Segmented.Cloud,
2240
- {
2241
- value: 1,
2242
- options: [
2243
- { value: 0, label: /* @__PURE__ */ jsx(FAI.AngleLeft, {}) },
2244
- { value: 1, label: /* @__PURE__ */ jsx(FAI.AngleRight, {}) },
2245
- { value: 2, label: /* @__PURE__ */ jsx(FAI.AngleUp, {}) },
2246
- { value: 3, label: /* @__PURE__ */ jsx(FAI.AngleDown, {}) }
2247
- ]
2248
- }
2249
- ),
2250
- /* @__PURE__ */ jsx(
2251
- Input.Segmented.Cloud2,
2252
- {
2253
- value: 1,
2254
- options: [
2255
- { value: 0, label: /* @__PURE__ */ jsx(FAI.AngleLeft, {}) },
2256
- { value: 1, label: /* @__PURE__ */ jsx(FAI.AngleRight, {}) },
2257
- { value: 2, label: /* @__PURE__ */ jsx(FAI.AngleUp, {}) },
2258
- { value: 3, label: /* @__PURE__ */ jsx(FAI.AngleDown, {}) }
2259
- ]
2260
- }
2261
- ),
2262
- /* @__PURE__ */ jsx(
2263
- Input.Segmented.Cloud3,
2264
- {
2265
- value: 1,
2266
- options: [
2267
- { value: 0, label: /* @__PURE__ */ jsx(FAI.AngleLeft, {}) },
2268
- { value: 1, label: /* @__PURE__ */ jsx(FAI.AngleRight, {}) },
2269
- { value: 2, label: /* @__PURE__ */ jsx(FAI.AngleUp, {}) },
2270
- { value: 3, label: /* @__PURE__ */ jsx(FAI.AngleDown, {}) }
2271
- ]
2272
- }
2273
- ),
2274
- /* @__PURE__ */ jsx(
2275
- Input.Segmented.Border,
2276
- {
2277
- value: 1,
2278
- options: [
2279
- { value: 0, label: "On" },
2280
- { value: 1, label: "Off" }
2281
- ]
2282
- }
2283
- ),
2284
- /* @__PURE__ */ jsx(
2285
- Input.Segmented.Border2,
2286
- {
2287
- value: 1,
2288
- options: [
2289
- { value: 0, label: "On" },
2290
- { value: 1, label: "Off" }
2291
- ]
2292
- }
2293
- ),
2294
- /* @__PURE__ */ jsx(
2295
- Input.Segmented.BottomLine,
2296
- {
2297
- value: 1,
2298
- options: [
2299
- { value: 0, label: "Takana" },
2300
- { value: 1, label: "Mentai" },
2301
- { value: 2, label: "Mayo" },
2302
- { value: 3, label: "Gyudon" }
2303
- ]
2304
- }
2305
- )
2306
- ]
2307
- }
2308
- )
2309
- ] });
2310
- }
2311
- };
2312
- const Inputs = () => {
2313
- const InputComps = {
2314
- Basic: () => {
2315
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
2316
- /* @__PURE__ */ jsx(
2317
- Text.Paragraph,
2318
- {
2319
- padding: 1,
2320
- borderBottom: true,
2321
- children: "TextInput"
2322
- }
2323
- ),
2324
- /* @__PURE__ */ jsxs(Box, { padding: 1, children: [
2325
- /* @__PURE__ */ jsxs(
2326
- Row.Separate,
2327
- {
2328
- marginBottom: 2,
2329
- children: [
2330
- /* @__PURE__ */ jsx(Text.Description, { children: `<Input.Text
69
+ Some Text`})]}),t(B.Separate,{children:[e(r.Button.Sub.S,{color:"white",onClick:()=>{z.remove(a)},children:"\u9589\u3058\u308B"}),e(r.Anchor.Prime.S,{href:"https://google.com",children:"\u8A73\u7D30"})]})]})})},children:"Message"})]})]})},P={_:()=>t(d,{children:[e(P.Types,{}),e(P.Tone,{}),e(P.Segmented,{})]}),Tone:()=>t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Tone"}),e(o,{padding:1,overflow:"auto",children:t(p,{gridCols:2,gap:2,children:[t(o,{children:[e(o,{padding:1,fontSize:"3.paragraph",isBoldFont:!0,children:"\u30FBPrime"}),t(p,{gridCols:3,gap:1,padding:1,children:[e(r.Button.Prime.R,{color:"theme",children:"theme"}),e(r.Button.Prime.R,{color:"coffee",children:"posi"}),e(r.Button.Prime.R,{color:"ninja",children:"nega"}),e(r.Button.Prime.R,{color:"droplet",children:"warn"}),e(r.Button.Prime.R,{color:"googleBlue",children:"mono"}),e(r.Button.Prime.R,{color:"poizon",children:"pozion"})]})]}),t(o,{children:[e(o,{padding:1,fontSize:"3.paragraph",isBoldFont:!0,children:"\u30FBSub"}),t(p,{gridCols:3,gap:1,padding:1,children:[e(r.Button.Sub.R,{color:"theme",children:"theme"}),e(r.Button.Sub.R,{color:"posi",children:"posi"}),e(r.Button.Sub.R,{color:"nega",children:"nega"}),e(r.Button.Sub.R,{color:"warn",children:"warn"}),e(r.Button.Sub.R,{color:"cloud",children:"cloud"})]}),t(p,{gridCols:3,gap:1,padding:1,backgroundColor:"dark",ssCardBox:!0,children:[e(r.Button.Sub.R,{color:"white",children:"white"}),e(r.Button.Sub.R,{color:"cloud",children:"cloud"})]})]}),t(o,{children:[e(o,{padding:1,fontSize:"3.paragraph",isBoldFont:!0,children:"\u30FBClear"}),t(p,{gridCols:3,gap:1,padding:1,children:[e(r.Button.Clear.R,{color:"theme",children:"theme"}),e(r.Button.Clear.R,{color:"posi",children:"posi"}),e(r.Button.Clear.R,{color:"nega",children:"nega"}),e(r.Button.Clear.R,{color:"warn",children:"warn"}),e(r.Button.Clear.R,{color:"cloud",children:"cloud"})]}),t(p,{gridCols:3,gap:1,padding:1,backgroundColor:"dark",ssCardBox:!0,children:[e(r.Button.Clear.R,{color:"white",children:"white"}),e(r.Button.Clear.R,{color:"cloud",children:"cloud"})]})]}),t(o,{children:[e(o,{padding:1,fontSize:"3.paragraph",isBoldFont:!0,children:"\u30FBFillToBorder"}),t(p,{gridCols:3,gap:1,padding:1,children:[e(r.Button.FillToBorder.R,{color:"theme",children:"theme"}),e(r.Button.FillToBorder.R,{color:"posi",children:"posi"}),e(r.Button.FillToBorder.R,{color:"nega",children:"nega"}),e(r.Button.FillToBorder.R,{color:"warn",children:"warn"})]}),t(p,{gridCols:3,gap:1,padding:1,backgroundColor:"dark",ssCardBox:!0,children:[e(r.Button.FillToBorder.R,{color:"white",children:"white"}),e(r.Button.FillToBorder.R,{color:"cloud",children:"cloud"})]})]}),t(o,{children:[e(o,{padding:1,fontSize:"3.paragraph",isBoldFont:!0,children:"\u30FBBorderToFill"}),t(p,{gridCols:3,gap:1,padding:1,children:[e(r.Button.BorderToFill.R,{color:"theme",fontColor:"nega",children:e(o,{children:"theme"})}),e(r.Button.BorderToFill.R,{color:"posi",children:"posi"}),e(r.Button.BorderToFill.R,{color:"nega",children:"nega"}),e(r.Button.BorderToFill.R,{color:"warn",children:"warn"})]}),t(p,{gridCols:3,gap:1,padding:1,backgroundColor:"dark",ssCardBox:!0,children:[e(r.Button.BorderToFill.R,{color:"white",children:"white"}),e(r.Button.BorderToFill.R,{color:"cloud",children:"cloud"})]})]}),t(o,{children:[e(o,{padding:1,fontSize:"3.paragraph",isBoldFont:!0,children:"\u30FBOthers"}),t(p,{gridCols:3,gap:1,padding:1,children:[e(r.Button.Border.R,{children:"Border"}),e(r.Button.Normal.R,{children:"Normal"}),e(r.Button.Link,{children:"Link"}),e(r.Button.Plain,{children:"Plain"})]})]})]})})]}),Types:()=>t(c,{gap:2,flexChilds:"auto",children:[t(o,{ssCardBox:!0,children:[e(n.ThirdTitle,{padding:1,borderBottom:!0,children:"\u30FBButton"}),e(o,{padding:1,overflow:"auto",children:e(v,{rowStyles:{padding:[1,0],horizontalAlign:"between",borderBottom:"2.normal"},rows:[{children:t(d,{children:[e(o,{children:"<Button.Button.Prime ... />"}),e(o,{children:e(r.Button.Prime.R,{children:"Button.Prime"})})]})},{children:t(d,{children:[e(o,{children:"<Button.Button.Sub ... />"}),e(o,{children:e(r.Button.Sub.R,{children:"Button.Sub AAAA"})})]})},{children:t(d,{children:[e(o,{children:"<Button.Button.Border ... />"}),e(o,{children:e(r.Button.Border.R,{children:"Button.Border"})})]}),borderBottom:"unset"}]})})]}),t(o,{ssCardBox:!0,children:[e(n.ThirdTitle,{padding:1,borderBottom:!0,children:"\u30FBLabel"}),e(o,{padding:1,overflow:"auto",children:e(v,{rowStyles:{padding:[1,0],horizontalAlign:"between",borderBottom:"2.normal"},rows:[{children:t(d,{children:[e(o,{children:"<Button.Label.Prime ... />"}),e(o,{children:e(r.Label.Prime.R,{children:"Label.Prime"})})]})},{children:t(d,{children:[e(o,{children:"<Button.Label.Sub ... />"}),e(o,{children:e(r.Label.Sub.R,{children:"Label.Sub"})})]})},{children:t(d,{children:[e(o,{children:"<Button.Label.Border ... />"}),e(o,{children:e(r.Label.Border.R,{children:"Label.Border"})})]}),borderBottom:"unset"}]})})]}),t(o,{ssCardBox:!0,children:[e(n.ThirdTitle,{padding:1,borderBottom:!0,children:"\u30FBAnchor"}),e(o,{padding:1,overflow:"auto",children:e(v,{rowStyles:{padding:[1,0],horizontalAlign:"between",borderBottom:"2.normal"},rows:[{children:t(d,{children:[e(o,{children:"<Button.Anchor.Prime ... />"}),e(o,{children:e(r.Anchor.Prime.R,{href:"",children:"Anchor.Prime"})})]})},{children:t(d,{children:[e(o,{children:"<Button.Anchor.Sub ... />"}),e(o,{children:e(r.Anchor.Sub.R,{href:"",children:"Anchor.Sub"})})]})},{children:t(d,{children:[e(o,{children:"<Button.Anchor.Border ... />"}),e(o,{children:e(r.Anchor.Border.R,{href:"",children:"Anchor.Border"})})]}),borderBottom:"unset"}]})})]}),t(o,{ssCardBox:!0,children:[e(n.ThirdTitle,{padding:1,borderBottom:!0,children:"\u30FBSizes"}),t(p,{gridCols:2,padding:1,gap:2,children:[e(o,{flexCenter:!0,children:e(r.Button.Prime.XS,{children:'size="XS"'})}),e(o,{flexCenter:!0,children:e(r.Button.Prime.S,{children:'size="S"'})}),e(o,{flexCenter:!0,children:e(r.Button.Prime.R,{children:'size="R"'})}),e(o,{flexCenter:!0,children:e(r.Button.Prime.L,{children:'size="L"'})})]})]})]}),Segmented:()=>t(o,{ssCardBox:!0,children:[e(n.ThirdTitle,{padding:1,borderBottom:!0,children:"Segmented"}),t(c,{overflow:"auto",gap:2,padding:3,children:[e(i.Segmented.Auto,{tone:"cloud",value:1,options:[{value:0,label:e(g.AngleLeft,{})},{value:1,label:e(g.AngleRight,{})},{value:2,label:e(g.AngleUp,{})},{value:3,label:e(g.AngleDown,{})}]}),e(i.Segmented.Cloud,{value:1,options:[{value:0,label:e(g.AngleLeft,{})},{value:1,label:e(g.AngleRight,{})},{value:2,label:e(g.AngleUp,{})},{value:3,label:e(g.AngleDown,{})}]}),e(i.Segmented.Cloud2,{value:1,options:[{value:0,label:e(g.AngleLeft,{})},{value:1,label:e(g.AngleRight,{})},{value:2,label:e(g.AngleUp,{})},{value:3,label:e(g.AngleDown,{})}]}),e(i.Segmented.Cloud3,{value:1,options:[{value:0,label:e(g.AngleLeft,{})},{value:1,label:e(g.AngleRight,{})},{value:2,label:e(g.AngleUp,{})},{value:3,label:e(g.AngleDown,{})}]}),e(i.Segmented.Border,{value:1,options:[{value:0,label:"On"},{value:1,label:"Off"}]}),e(i.Segmented.Border2,{value:1,options:[{value:0,label:"On"},{value:1,label:"Off"}]}),e(i.Segmented.BottomLine,{value:1,options:[{value:0,label:"Takana"},{value:1,label:"Mentai"},{value:2,label:"Mayo"},{value:3,label:"Gyudon"}]})]})]})},K=()=>{const a={Basic:()=>e(d,{children:t(o,{ssCardBox:!0,children:[e(n.Paragraph,{padding:1,borderBottom:!0,children:"TextInput"}),t(o,{padding:1,children:[t(B.Separate,{marginBottom:2,children:[e(n.Description,{children:`<Input.Text
2331
70
  required
2332
71
  value={ 'hello React!!' }
2333
- />` }),
2334
- /* @__PURE__ */ jsxs(Column, { gap: "1/2", children: [
2335
- /* @__PURE__ */ jsxs(Box, { children: [
2336
- "testInputLabel ",
2337
- /* @__PURE__ */ jsx(Input.Comps.RequiredSign, {})
2338
- ] }),
2339
- /* @__PURE__ */ jsx(
2340
- Input.Text.Normal,
2341
- {
2342
- required: true,
2343
- value: "helloReact"
2344
- }
2345
- )
2346
- ] })
2347
- ]
2348
- }
2349
- ),
2350
- /* @__PURE__ */ jsxs(
2351
- Flex,
2352
- {
2353
- gap: 2,
2354
- flexChilds: "auto",
2355
- children: [
2356
- /* @__PURE__ */ jsxs(Box, { children: [
2357
- "Input.Text.Email",
2358
- /* @__PURE__ */ jsx(
2359
- Input.Text.Email,
2360
- {
2361
- autoComplete: "off",
2362
- name: "emailInput",
2363
- value: "******@gmail.com"
2364
- }
2365
- )
2366
- ] }),
2367
- /* @__PURE__ */ jsxs(Box, { children: [
2368
- "Input.Text.Number",
2369
- /* @__PURE__ */ jsx(
2370
- Input.Text.Number,
2371
- {
2372
- value: "324"
2373
- }
2374
- )
2375
- ] }),
2376
- /* @__PURE__ */ jsxs(Box, { children: [
2377
- "Input.Text.Tel",
2378
- /* @__PURE__ */ jsx(
2379
- Input.Text.Tel,
2380
- {
2381
- value: "080-6995-2229"
2382
- }
2383
- )
2384
- ] }),
2385
- /* @__PURE__ */ jsxs(Box, { children: [
2386
- "Input.Text.Money.JPY",
2387
- /* @__PURE__ */ jsx(
2388
- Input.Text.Money.JPY,
2389
- {
2390
- value: "3000"
2391
- }
2392
- )
2393
- ] }),
2394
- /* @__PURE__ */ jsxs(Box, { children: [
2395
- "Input.Text.Url",
2396
- /* @__PURE__ */ jsx(
2397
- Input.Text.Url,
2398
- {
2399
- value: "http://google.com"
2400
- }
2401
- )
2402
- ] }),
2403
- /* @__PURE__ */ jsxs(Box, { children: [
2404
- "Input.Text.Postal",
2405
- /* @__PURE__ */ jsxs(Row.Right, { children: [
2406
- /* @__PURE__ */ jsx(
2407
- Box,
2408
- {
2409
- flexSizing: 0,
2410
- children: /* @__PURE__ */ jsx(
2411
- Input.Text.Postal,
2412
- {
2413
- override: "force"
2414
- }
2415
- )
2416
- }
2417
- ),
2418
- /* @__PURE__ */ jsx(
2419
- Button.Button.Border.R,
2420
- {
2421
- onClick: () => __async(void 0, null, function* () {
2422
- }),
2423
- children: "\u73FE\u5728\u5730\u3092\u53D6\u5F97"
2424
- }
2425
- )
2426
- ] }),
2427
- /* @__PURE__ */ jsx(
2428
- Box,
2429
- {
2430
- id: "postalResult",
2431
- padding: 1,
2432
- textAlign: "left"
2433
- }
2434
- )
2435
- ] }),
2436
- /* @__PURE__ */ jsxs(Box, { children: [
2437
- "Input.Text.Password",
2438
- /* @__PURE__ */ jsx(
2439
- Input.Text.Password,
2440
- {
2441
- value: "onigiriUmai"
2442
- }
2443
- )
2444
- ] }),
2445
- /* @__PURE__ */ jsxs(Box, { flexNewLine: true, children: [
2446
- "Input.TextArea",
2447
- /* @__PURE__ */ jsx(
2448
- Input.TextArea,
2449
- {
2450
- value: `text1
72
+ />`}),t(h,{gap:"1/2",children:[t(o,{children:["testInputLabel ",e(i.Comps.RequiredSign,{})]}),e(i.Text.Normal,{required:!0,value:"helloReact"})]})]}),t(c,{gap:2,flexChilds:"auto",children:[t(o,{children:["Input.Text.Email",e(i.Text.Email,{autoComplete:"off",name:"emailInput",value:"******@gmail.com"})]}),t(o,{children:["Input.Text.Number",e(i.Text.Number,{value:"324"})]}),t(o,{children:["Input.Text.Tel",e(i.Text.Tel,{value:"080-6995-2229"})]}),t(o,{children:["Input.Text.Money.JPY",e(i.Text.Money.JPY,{value:"3000"})]}),t(o,{children:["Input.Text.Url",e(i.Text.Url,{value:"http://google.com"})]}),t(o,{children:["Input.Text.Postal",t(B.Right,{children:[e(o,{flexSizing:0,children:e(i.Text.Postal,{override:"force"})}),e(r.Button.Border.R,{onClick:()=>y(void 0,null,function*(){}),children:"\u73FE\u5728\u5730\u3092\u53D6\u5F97"})]}),e(o,{id:"postalResult",padding:1,textAlign:"left"})]}),t(o,{children:["Input.Text.Password",e(i.Text.Password,{value:"onigiriUmai"})]}),t(o,{flexNewLine:!0,children:["Input.TextArea",e(i.TextArea,{value:`text1
2451
73
  text2
2452
74
  text3
2453
75
  text4
2454
- text5`,
2455
- rows: 5
2456
- }
2457
- )
2458
- ] })
2459
- ]
2460
- }
2461
- )
2462
- ] })
2463
- ] }) });
2464
- },
2465
- Time: () => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
2466
- /* @__PURE__ */ jsx(
2467
- Text.Paragraph,
2468
- {
2469
- padding: 1,
2470
- borderBottom: true,
2471
- children: "Time Input"
2472
- }
2473
- ),
2474
- /* @__PURE__ */ jsx(
2475
- Box,
2476
- {
2477
- padding: 1,
2478
- children: /* @__PURE__ */ jsxs(
2479
- Flex,
2480
- {
2481
- gap: 2,
2482
- flexChilds: "auto",
2483
- children: [
2484
- /* @__PURE__ */ jsxs(Box, { children: [
2485
- "Input.Time.Clock",
2486
- /* @__PURE__ */ jsx(
2487
- Input.Time.Clock,
2488
- {}
2489
- )
2490
- ] }),
2491
- /* @__PURE__ */ jsxs(Box, { children: [
2492
- "Input.Time.Date",
2493
- /* @__PURE__ */ jsx(
2494
- Input.Time.Date,
2495
- {}
2496
- )
2497
- ] }),
2498
- /* @__PURE__ */ jsxs(Box, { children: [
2499
- "Input.Time.Week",
2500
- /* @__PURE__ */ jsx(
2501
- Input.Time.Week,
2502
- {}
2503
- )
2504
- ] }),
2505
- /* @__PURE__ */ jsxs(Box, { children: [
2506
- "Input.Time.Month",
2507
- /* @__PURE__ */ jsx(
2508
- Input.Time.Month,
2509
- {}
2510
- )
2511
- ] }),
2512
- /* @__PURE__ */ jsxs(Box, { children: [
2513
- "Input.Time.Year",
2514
- /* @__PURE__ */ jsx(
2515
- Input.Time.Year,
2516
- {}
2517
- )
2518
- ] }),
2519
- /* @__PURE__ */ jsxs(Box, { children: [
2520
- "Input.Time.Periods.Date",
2521
- /* @__PURE__ */ jsx(
2522
- Input.Time.Periods.Date,
2523
- {}
2524
- )
2525
- ] }),
2526
- /* @__PURE__ */ jsxs(Box, { children: [
2527
- "Input.Time.Periods.Month",
2528
- /* @__PURE__ */ jsx(
2529
- Input.Time.Periods.Month,
2530
- {}
2531
- )
2532
- ] }),
2533
- /* @__PURE__ */ jsxs(Box, { children: [
2534
- "Input.Time.DateWareki",
2535
- /* @__PURE__ */ jsx(
2536
- Input.Time.DateWareki,
2537
- {}
2538
- )
2539
- ] }),
2540
- /* @__PURE__ */ jsxs(Box, { children: [
2541
- "Input.Time.picker",
2542
- /* @__PURE__ */ jsx(
2543
- Input.Select,
2544
- {
2545
- id: "timePicker",
2546
- options: [
2547
- { value: "clock", label: "clock" },
2548
- { value: "date", label: "date" },
2549
- { value: "week", label: "week" },
2550
- { value: "month", label: "month" },
2551
- { value: "year", label: "year" },
2552
- { value: "dates", label: "dates" },
2553
- { value: "months", label: "months" },
2554
- { value: "dateWareki", label: "dateWareki" }
2555
- ],
2556
- onUpdateValidValue: ({ value }) => {
2557
- Input.Time.fn.picker.launch({
2558
- parent: "#timePicker",
2559
- restrict: value,
2560
- defaultValue: "",
2561
- onValueUpdate: (value2) => {
2562
- console.log(value2);
2563
- }
2564
- });
2565
- }
2566
- }
2567
- )
2568
- ] })
2569
- ]
2570
- }
2571
- )
2572
- }
2573
- )
2574
- ] }) }),
2575
- List: () => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
2576
- /* @__PURE__ */ jsx(
2577
- Text.Paragraph,
2578
- {
2579
- padding: 1,
2580
- borderBottom: true,
2581
- children: "Radio & Checkbox Input"
2582
- }
2583
- ),
2584
- /* @__PURE__ */ jsx(Box, { padding: 1, children: /* @__PURE__ */ jsxs(Column, { children: [
2585
- /* @__PURE__ */ jsxs(
2586
- Flex,
2587
- {
2588
- gap: 2,
2589
- flexChilds: "auto",
2590
- children: [
2591
- /* @__PURE__ */ jsxs(Box, { children: [
2592
- "Input.Radio",
2593
- /* @__PURE__ */ jsx(
2594
- Input.Radio,
2595
- {
2596
- value: [1],
2597
- options: [
2598
- { value: 1, label: "option1" },
2599
- { value: 2, label: "option2" },
2600
- { value: 3, label: "option3" }
2601
- ]
2602
- }
2603
- )
2604
- ] }),
2605
- /* @__PURE__ */ jsxs(Box, { children: [
2606
- "Input.Checkbox",
2607
- /* @__PURE__ */ jsx(
2608
- Input.Checkbox,
2609
- {
2610
- value: [2, "3"],
2611
- options: [
2612
- { value: "1", label: "option1" },
2613
- { value: "2", label: "option2" },
2614
- { value: "3", label: "option3" }
2615
- ]
2616
- }
2617
- )
2618
- ] })
2619
- ]
2620
- }
2621
- ),
2622
- /* @__PURE__ */ jsxs(Column, { children: [
2623
- /* @__PURE__ */ jsx(Text.Paragraph, { children: "Tones" }),
2624
- /* @__PURE__ */ jsxs(
2625
- Flex,
2626
- {
2627
- gap: 2,
2628
- flexChilds: "auto",
2629
- children: [
2630
- /* @__PURE__ */ jsx(
2631
- Input.Radio,
2632
- {
2633
- tone: "plain",
2634
- value: [1],
2635
- gap: 1,
2636
- options: [
2637
- { value: 1, label: "Option1" },
2638
- { value: 2, label: "Option2" },
2639
- { value: 3, label: "Option3" }
2640
- ]
2641
- }
2642
- ),
2643
- /* @__PURE__ */ jsx(
2644
- Input.Radio,
2645
- {
2646
- tone: "normal",
2647
- value: [1],
2648
- options: [
2649
- { value: 1, label: "Option1" },
2650
- { value: 2, label: "Option2" },
2651
- { value: 3, label: "Option3" }
2652
- ]
2653
- }
2654
- ),
2655
- /* @__PURE__ */ jsx(
2656
- Input.Radio,
2657
- {
2658
- tone: "cloud",
2659
- value: [1],
2660
- options: [
2661
- { value: 1, label: "Option1" },
2662
- { value: 2, label: "Option2" },
2663
- { value: 3, label: "Option3" }
2664
- ]
2665
- }
2666
- ),
2667
- /* @__PURE__ */ jsx(
2668
- Input.Radio,
2669
- {
2670
- tone: "border",
2671
- value: [1],
2672
- options: [
2673
- { value: 1, label: "Option1" },
2674
- { value: 2, label: "Option2" },
2675
- { value: 3, label: "Option3" }
2676
- ]
2677
- }
2678
- ),
2679
- /* @__PURE__ */ jsx(
2680
- Input.Radio,
2681
- {
2682
- tone: "vivid",
2683
- value: [1],
2684
- options: [
2685
- { value: 1, label: "Option1" },
2686
- { value: 2, label: "Option2" },
2687
- { value: 3, label: "Option3" }
2688
- ]
2689
- }
2690
- )
2691
- ]
2692
- }
2693
- )
2694
- ] })
2695
- ] }) })
2696
- ] }) }),
2697
- Select: () => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
2698
- /* @__PURE__ */ jsx(
2699
- Text.Paragraph,
2700
- {
2701
- padding: 1,
2702
- borderBottom: true,
2703
- children: "Select,Search,Chips Input"
2704
- }
2705
- ),
2706
- /* @__PURE__ */ jsx(Box, { padding: 1, children: /* @__PURE__ */ jsx(Column, { children: /* @__PURE__ */ jsxs(
2707
- Flex,
2708
- {
2709
- gap: 2,
2710
- flexChilds: "auto",
2711
- children: [
2712
- /* @__PURE__ */ jsxs(Box, { children: [
2713
- "Input.Select",
2714
- /* @__PURE__ */ jsx(
2715
- Input.Select,
2716
- {
2717
- required: true,
2718
- value: 3,
2719
- options: [
2720
- { value: 1, label: "option1" },
2721
- { value: 2, label: "option2" },
2722
- { value: 3, label: "option3a" },
2723
- { value: 4, label: "option4" }
2724
- ]
2725
- }
2726
- )
2727
- ] }),
2728
- /* @__PURE__ */ jsxs(Box, { children: [
2729
- "Input.Search",
2730
- /* @__PURE__ */ jsx(
2731
- Input.Search,
2732
- {
2733
- required: true,
2734
- defaultOptions: [
2735
- {
2736
- value: 1,
2737
- label: "1"
2738
- },
2739
- {
2740
- value: {
2741
- value1: 2,
2742
- value2: 3
2743
- },
2744
- label: "Object"
2745
- },
2746
- { value: 3, label: "3" },
2747
- {
2748
- value: 101,
2749
- label: "101"
2750
- },
2751
- {
2752
- value: 102,
2753
- label: "102"
2754
- }
2755
- ],
2756
- onDynamicSearch: (...args) => __async(void 0, null, function* () {
2757
- let options = [];
2758
- for (let i = 0; i < 100; i++) {
2759
- options.push({
2760
- value: i,
2761
- label: String(i)
2762
- });
2763
- }
2764
- return { options };
2765
- })
2766
- }
2767
- )
2768
- ] }),
2769
- /* @__PURE__ */ jsxs(
2770
- Box,
2771
- {
2772
- flexNewLine: true,
2773
- children: [
2774
- "Input.Chips",
2775
- /* @__PURE__ */ jsx(
2776
- Input.Chips,
2777
- {
2778
- limit: 5,
2779
- value: [
2780
- { value: "option3", label: "option3" }
2781
- ],
2782
- onUpdateValidValue: ({ value }) => {
2783
- console.log(value);
2784
- },
2785
- defaultOptions: [
2786
- { value: 1, label: "option1" },
2787
- { value: 2, label: "option2" },
2788
- { value: 3, label: "option3" },
2789
- { value: 4, label: "option4" }
2790
- ]
2791
- }
2792
- )
2793
- ]
2794
- }
2795
- )
2796
- ]
2797
- }
2798
- ) }) })
2799
- ] }) }),
2800
- Variables: () => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
2801
- /* @__PURE__ */ jsx(
2802
- Text.Paragraph,
2803
- {
2804
- padding: 1,
2805
- borderBottom: true,
2806
- children: "Variables"
2807
- }
2808
- ),
2809
- /* @__PURE__ */ jsx(Box, { padding: 1, children: /* @__PURE__ */ jsx(Column, { children: /* @__PURE__ */ jsxs(
2810
- Flex,
2811
- {
2812
- gap: 2,
2813
- flexChilds: "auto",
2814
- children: [
2815
- /* @__PURE__ */ jsxs(Box, { children: [
2816
- "Input.File",
2817
- /* @__PURE__ */ jsx(
2818
- Input.Filer,
2819
- {
2820
- limit: 3
2821
- }
2822
- )
2823
- ] }),
2824
- /* @__PURE__ */ jsxs(Box, { children: [
2825
- "Input.Switch",
2826
- /* @__PURE__ */ jsxs(
2827
- Flex,
2828
- {
2829
- gap: 2,
2830
- children: [
2831
- /* @__PURE__ */ jsx(
2832
- Input.Switch,
2833
- {}
2834
- ),
2835
- /* @__PURE__ */ jsx(
2836
- Input.Switch,
2837
- {
2838
- appearance: "applely",
2839
- color: "icicles",
2840
- value: true
2841
- }
2842
- ),
2843
- /* @__PURE__ */ jsx(
2844
- Input.Switch,
2845
- {
2846
- appearance: "applely",
2847
- icon: /* @__PURE__ */ jsx(FAI.Check, {}),
2848
- color: "warn",
2849
- value: true
2850
- }
2851
- )
2852
- ]
2853
- }
2854
- )
2855
- ] }),
2856
- /* @__PURE__ */ jsxs(
2857
- Box,
2858
- {
2859
- flexNewLine: true,
2860
- children: [
2861
- "Input.Slider",
2862
- /* @__PURE__ */ jsx(
2863
- Input.Slider,
2864
- {
2865
- color: "battery",
2866
- name: "sliderInput",
2867
- value: 40,
2868
- step: 10,
2869
- min: 0,
2870
- max: 100
2871
- }
2872
- )
2873
- ]
2874
- }
2875
- )
2876
- ]
2877
- }
2878
- ) }) })
2879
- ] }) })
2880
- };
2881
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(
2882
- Layout.Plate,
2883
- {
2884
- size: "L",
2885
- children: /* @__PURE__ */ jsxs(
2886
- Grid,
2887
- {
2888
- gap: 2,
2889
- gridCols: 2,
2890
- children: [
2891
- /* @__PURE__ */ jsx(InputComps.Basic, {}),
2892
- /* @__PURE__ */ jsx(InputComps.Select, {}),
2893
- /* @__PURE__ */ jsx(InputComps.Time, {}),
2894
- /* @__PURE__ */ jsx(InputComps.List, {}),
2895
- /* @__PURE__ */ jsx(InputComps.Variables, {})
2896
- ]
2897
- }
2898
- )
2899
- }
2900
- ) });
2901
- };
2902
- const Styling = () => {
2903
- const SheetContent = (type) => {
2904
- let sheetID = "testModal2";
2905
- Sheet.open({
2906
- type,
2907
- sheetID,
2908
- size: "S",
2909
- padding: 2,
2910
- content: /* @__PURE__ */ jsxs(
2911
- Sheet.Comps.Body,
2912
- {
2913
- padding: 1,
2914
- children: [
2915
- /* @__PURE__ */ jsx(
2916
- Box,
2917
- {
2918
- padding: 2,
2919
- minHeight: "viewHeight",
2920
- children: "Content"
2921
- }
2922
- ),
2923
- /* @__PURE__ */ jsx(Row.Right, { children: /* @__PURE__ */ jsx(
2924
- Button.Button.Prime.R,
2925
- {
2926
- onClick: () => {
2927
- Sheet.close(sheetID);
2928
- },
2929
- children: "\u9589\u3058\u308B"
2930
- }
2931
- ) })
2932
- ]
2933
- }
2934
- )
2935
- });
2936
- };
2937
- useEffect(() => {
2938
- SheetContent("normal.middleCenter");
2939
- }, []);
2940
- return /* @__PURE__ */ jsxs(Fragment, { children: [
2941
- /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
2942
- /* @__PURE__ */ jsx(
2943
- Text.SubTitle,
2944
- {
2945
- padding: 1,
2946
- borderBottom: true,
2947
- children: "CardBox"
2948
- }
2949
- ),
2950
- /* @__PURE__ */ jsx(
2951
- Box,
2952
- {
2953
- padding: 1,
2954
- overflow: "auto",
2955
- children: /* @__PURE__ */ jsx(Text.Description, { children: `<Box ssCardBox>
76
+ text5`,rows:5})]})]})]})]})}),Time:()=>e(d,{children:t(o,{ssCardBox:!0,children:[e(n.Paragraph,{padding:1,borderBottom:!0,children:"Time Input"}),e(o,{padding:1,children:t(c,{gap:2,flexChilds:"auto",children:[t(o,{children:["Input.Time.Clock",e(i.Time.Clock,{})]}),t(o,{children:["Input.Time.Date",e(i.Time.Date,{})]}),t(o,{children:["Input.Time.Week",e(i.Time.Week,{})]}),t(o,{children:["Input.Time.Month",e(i.Time.Month,{})]}),t(o,{children:["Input.Time.Year",e(i.Time.Year,{})]}),t(o,{children:["Input.Time.Periods.Date",e(i.Time.Periods.Date,{})]}),t(o,{children:["Input.Time.Periods.Month",e(i.Time.Periods.Month,{})]}),t(o,{children:["Input.Time.DateWareki",e(i.Time.DateWareki,{})]}),t(o,{children:["Input.Time.picker",e(i.Select,{id:"timePicker",options:[{value:"clock",label:"clock"},{value:"date",label:"date"},{value:"week",label:"week"},{value:"month",label:"month"},{value:"year",label:"year"},{value:"dates",label:"dates"},{value:"months",label:"months"},{value:"dateWareki",label:"dateWareki"}],onUpdateValidValue:({value:u})=>{i.Time.fn.picker.launch({parent:"#timePicker",restrict:u,defaultValue:"",onValueUpdate:s=>{console.log(s)}})}})]})]})})]})}),List:()=>e(d,{children:t(o,{ssCardBox:!0,children:[e(n.Paragraph,{padding:1,borderBottom:!0,children:"Radio & Checkbox Input"}),e(o,{padding:1,children:t(h,{children:[t(c,{gap:2,flexChilds:"auto",children:[t(o,{children:["Input.Radio",e(i.Radio,{value:[1],options:[{value:1,label:"option1"},{value:2,label:"option2"},{value:3,label:"option3"}]})]}),t(o,{children:["Input.Checkbox",e(i.Checkbox,{value:[2,"3"],options:[{value:"1",label:"option1"},{value:"2",label:"option2"},{value:"3",label:"option3"}]})]})]}),t(h,{children:[e(n.Paragraph,{children:"Tones"}),t(c,{gap:2,flexChilds:"auto",children:[e(i.Radio,{tone:"plain",value:[1],gap:1,options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]}),e(i.Radio,{tone:"normal",value:[1],options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]}),e(i.Radio,{tone:"cloud",value:[1],options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]}),e(i.Radio,{tone:"border",value:[1],options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]}),e(i.Radio,{tone:"vivid",value:[1],options:[{value:1,label:"Option1"},{value:2,label:"Option2"},{value:3,label:"Option3"}]})]})]})]})})]})}),Select:()=>e(d,{children:t(o,{ssCardBox:!0,children:[e(n.Paragraph,{padding:1,borderBottom:!0,children:"Select,Search,Chips Input"}),e(o,{padding:1,children:e(h,{children:t(c,{gap:2,flexChilds:"auto",children:[t(o,{children:["Input.Select",e(i.Select,{required:!0,value:3,options:[{value:1,label:"option1"},{value:2,label:"option2"},{value:3,label:"option3a"},{value:4,label:"option4"}]})]}),t(o,{children:["Input.Search",e(i.Search,{required:!0,defaultOptions:[{value:1,label:"1"},{value:{value1:2,value2:3},label:"Object"},{value:3,label:"3"},{value:101,label:"101"},{value:102,label:"102"}],onDynamicSearch:(...u)=>y(void 0,null,function*(){let s=[];for(let x=0;x<100;x++)s.push({value:x,label:String(x)});return{options:s}})})]}),t(o,{flexNewLine:!0,children:["Input.Chips",e(i.Chips,{limit:5,value:[{value:"option3",label:"option3"}],onUpdateValidValue:({value:u})=>{console.log(u)},defaultOptions:[{value:1,label:"option1"},{value:2,label:"option2"},{value:3,label:"option3"},{value:4,label:"option4"}]})]})]})})})]})}),Variables:()=>e(d,{children:t(o,{ssCardBox:!0,children:[e(n.Paragraph,{padding:1,borderBottom:!0,children:"Variables"}),e(o,{padding:1,children:e(h,{children:t(c,{gap:2,flexChilds:"auto",children:[t(o,{children:["Input.File",e(i.Filer,{limit:3})]}),t(o,{children:["Input.Switch",t(c,{gap:2,children:[e(i.Switch,{}),e(i.Switch,{appearance:"applely",color:"icicles",value:!0}),e(i.Switch,{appearance:"applely",icon:e(g.Check,{}),color:"warn",value:!0})]})]}),t(o,{flexNewLine:!0,children:["Input.Slider",e(i.Slider,{color:"battery",name:"sliderInput",value:40,step:10,min:0,max:100})]})]})})})]})})};return e(d,{children:e(k.Plate,{size:"L",children:t(p,{gap:2,gridCols:2,children:[e(a.Basic,{}),e(a.Select,{}),e(a.Time,{}),e(a.List,{}),e(a.Variables,{})]})})})},j=()=>{const a=u=>{let s="testModal2";O.open({type:u,sheetID:s,size:"S",padding:2,content:t(O.Comps.Body,{padding:1,children:[e(o,{padding:2,minHeight:"viewHeight",children:"Content"}),e(B.Right,{children:e(r.Button.Prime.R,{onClick:()=>{O.close(s)},children:"\u9589\u3058\u308B"})})]})})};return t(d,{children:[t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"CardBox"}),e(o,{padding:1,overflow:"auto",children:e(n.Description,{children:`<Box ssCardBox>
2956
77
  <Box>
2957
78
  Header
2958
79
  </Box>
@@ -2963,756 +84,16 @@ const Styling = () => {
2963
84
  <Box>
2964
85
  Footer
2965
86
  </Box>
2966
- </Box>` })
2967
- }
2968
- ),
2969
- /* @__PURE__ */ jsx(
2970
- Box,
2971
- {
2972
- padding: 2,
2973
- children: /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
2974
- /* @__PURE__ */ jsx(
2975
- Text.SubTitle,
2976
- {
2977
- padding: 1,
2978
- borderBottom: true,
2979
- children: "Header"
2980
- }
2981
- ),
2982
- /* @__PURE__ */ jsx(
2983
- Box,
2984
- {
2985
- padding: 1,
2986
- overflow: "auto",
2987
- children: "Body"
2988
- }
2989
- ),
2990
- /* @__PURE__ */ jsx(Box, { padding: 1, children: "Footer" })
2991
- ] })
2992
- }
2993
- )
2994
- ] }),
2995
- /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
2996
- /* @__PURE__ */ jsx(
2997
- Text.SubTitle,
2998
- {
2999
- padding: 1,
3000
- borderBottom: true,
3001
- children: "List"
3002
- }
3003
- ),
3004
- /* @__PURE__ */ jsx(
3005
- Box,
3006
- {
3007
- padding: 1,
3008
- overflow: "auto",
3009
- children: /* @__PURE__ */ jsx(Text.Description, { children: `<List
87
+ </Box>`})}),e(o,{padding:2,children:t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Header"}),e(o,{padding:1,overflow:"auto",children:"Body"}),e(o,{padding:1,children:"Footer"})]})})]}),t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"List"}),e(o,{padding:1,overflow:"auto",children:e(n.Description,{children:`<List
3010
88
  options={ [
3011
89
  {
3012
90
  title?: LeftSideReactComponent,
3013
91
  content: RightSideReactComponent
3014
92
  }
3015
93
  ] }
3016
- />` })
3017
- }
3018
- ),
3019
- /* @__PURE__ */ jsx(
3020
- Box,
3021
- {
3022
- padding: 2,
3023
- overflow: "auto",
3024
- children: /* @__PURE__ */ jsx(
3025
- List,
3026
- {
3027
- border: true,
3028
- rowStyles: {
3029
- padding: 1,
3030
- borderBottom: true
3031
- },
3032
- rows: [
3033
- {
3034
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
3035
- /* @__PURE__ */ jsx(Box, { children: "Title1" }),
3036
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Box, { children: "Content1" }) })
3037
- ] }),
3038
- horizontalAlign: "between"
3039
- },
3040
- {
3041
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
3042
- /* @__PURE__ */ jsx(
3043
- Box,
3044
- {
3045
- flexGrid: 1,
3046
- children: "Title2"
3047
- }
3048
- ),
3049
- /* @__PURE__ */ jsx(
3050
- Box,
3051
- {
3052
- flexGrid: 2,
3053
- children: /* @__PURE__ */ jsx(Box, { children: "Content2" })
3054
- }
3055
- )
3056
- ] })
3057
- },
3058
- {
3059
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
3060
- /* @__PURE__ */ jsx(Box, { children: "Title3" }),
3061
- /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Box, { children: "Content3" }) })
3062
- ] }),
3063
- flexType: "col"
3064
- },
3065
- {
3066
- children: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Box, { children: "Content4" }) }) }),
3067
- borderBottom: "unset"
3068
- }
3069
- ]
3070
- }
3071
- )
3072
- }
3073
- )
3074
- ] }),
3075
- /* @__PURE__ */ jsxs(Box, { ssCardBox: true, children: [
3076
- /* @__PURE__ */ jsx(
3077
- Text.SubTitle,
3078
- {
3079
- padding: 1,
3080
- borderBottom: true,
3081
- children: "Sheet"
3082
- }
3083
- ),
3084
- /* @__PURE__ */ jsx(
3085
- Box,
3086
- {
3087
- padding: 1,
3088
- overflow: "auto",
3089
- children: /* @__PURE__ */ jsx(Text.Description, { children: `Sheet.open( {
94
+ />`})}),e(o,{padding:2,overflow:"auto",children:e(v,{border:!0,rowStyles:{padding:1,borderBottom:!0},rows:[{children:t(d,{children:[e(o,{children:"Title1"}),e(o,{children:e(o,{children:"Content1"})})]}),horizontalAlign:"between"},{children:t(d,{children:[e(o,{flexGrid:1,children:"Title2"}),e(o,{flexGrid:2,children:e(o,{children:"Content2"})})]})},{children:t(d,{children:[e(o,{children:"Title3"}),e(o,{children:e(o,{children:"Content3"})})]}),flexType:"col"},{children:e(d,{children:e(o,{children:e(o,{children:"Content4"})})}),borderBottom:"unset"}]})})]}),t(o,{ssCardBox:!0,children:[e(n.SubTitle,{padding:1,borderBottom:!0,children:"Sheet"}),e(o,{padding:1,overflow:"auto",children:e(n.Description,{children:`Sheet.open( {
3090
95
  sheetID: 'sheetID',
3091
96
  header: ReactElement | React.FC< { modalClose } >,
3092
97
  body: ReactElement | React.FC< { modalClose } >,
3093
98
  footer: ReactElement | React.FC< { modalClose } >
3094
- } );` })
3095
- }
3096
- ),
3097
- /* @__PURE__ */ jsxs(
3098
- Column,
3099
- {
3100
- padding: 2,
3101
- children: [
3102
- /* @__PURE__ */ jsx(
3103
- Box,
3104
- {
3105
- flexCenter: true,
3106
- children: /* @__PURE__ */ jsxs(
3107
- Grid,
3108
- {
3109
- gridCols: 3,
3110
- gap: 1,
3111
- children: [
3112
- /* @__PURE__ */ jsx(
3113
- Button.Button.Border.R,
3114
- {
3115
- onClick: () => {
3116
- SheetContent("normal.topLeft");
3117
- },
3118
- children: "Top Left"
3119
- }
3120
- ),
3121
- /* @__PURE__ */ jsx(
3122
- Button.Button.Border.R,
3123
- {
3124
- onClick: () => {
3125
- SheetContent("normal.topCenter");
3126
- },
3127
- children: "Top Center"
3128
- }
3129
- ),
3130
- /* @__PURE__ */ jsx(
3131
- Button.Button.Border.R,
3132
- {
3133
- onClick: () => {
3134
- SheetContent("normal.topRight");
3135
- },
3136
- children: "Top Right"
3137
- }
3138
- ),
3139
- /* @__PURE__ */ jsx(
3140
- Button.Button.Border.R,
3141
- {
3142
- onClick: () => {
3143
- SheetContent("normal.middleLeft");
3144
- },
3145
- children: "Middle Left"
3146
- }
3147
- ),
3148
- /* @__PURE__ */ jsx(
3149
- Button.Button.Border.R,
3150
- {
3151
- onClick: () => {
3152
- SheetContent("normal.middleCenter");
3153
- },
3154
- children: "Middle Center"
3155
- }
3156
- ),
3157
- /* @__PURE__ */ jsx(
3158
- Button.Button.Border.R,
3159
- {
3160
- onClick: () => {
3161
- SheetContent("normal.middleRight");
3162
- },
3163
- children: "Middle Right"
3164
- }
3165
- ),
3166
- /* @__PURE__ */ jsx(
3167
- Button.Button.Border.R,
3168
- {
3169
- onClick: () => {
3170
- SheetContent("normal.bottomLeft");
3171
- },
3172
- children: "Bottom Left"
3173
- }
3174
- ),
3175
- /* @__PURE__ */ jsx(
3176
- Button.Button.Border.R,
3177
- {
3178
- onClick: () => {
3179
- SheetContent("normal.bottomCenter");
3180
- },
3181
- children: "Bottom Center"
3182
- }
3183
- ),
3184
- /* @__PURE__ */ jsx(
3185
- Button.Button.Border.R,
3186
- {
3187
- onClick: () => {
3188
- SheetContent("normal.bottomRight");
3189
- },
3190
- children: "Bottom Right"
3191
- }
3192
- ),
3193
- /* @__PURE__ */ jsx(
3194
- Button.Button.Border.R,
3195
- {
3196
- onClick: () => {
3197
- SheetContent("drawer.left");
3198
- },
3199
- children: "Drawer Left"
3200
- }
3201
- ),
3202
- /* @__PURE__ */ jsx(
3203
- Button.Button.Border.R,
3204
- {
3205
- onClick: () => {
3206
- SheetContent("drawer.bottom");
3207
- },
3208
- children: "Drawer Bottom"
3209
- }
3210
- ),
3211
- /* @__PURE__ */ jsx(
3212
- Button.Button.Border.R,
3213
- {
3214
- onClick: () => {
3215
- SheetContent("drawer.right");
3216
- },
3217
- children: "Drawer Right"
3218
- }
3219
- ),
3220
- /* @__PURE__ */ jsx(
3221
- Button.Button.Border.R,
3222
- {
3223
- onClick: (event) => {
3224
- Tooltips.open({
3225
- tipsID: "test40",
3226
- content: /* @__PURE__ */ jsx(
3227
- Box,
3228
- {
3229
- padding: 1,
3230
- border: true,
3231
- borderRadius: 2,
3232
- backgroundColor: "dark",
3233
- fontColor: "white",
3234
- children: "Content"
3235
- }
3236
- ),
3237
- parent: event.target
3238
- });
3239
- },
3240
- children: "Open Tooltips"
3241
- }
3242
- )
3243
- ]
3244
- }
3245
- )
3246
- }
3247
- ),
3248
- /* @__PURE__ */ jsxs(Row.Center, { children: [
3249
- "Image Picker",
3250
- /* @__PURE__ */ jsx(
3251
- Img,
3252
- {
3253
- src: Logo.Images.defaultIcon("user"),
3254
- unitWidth: 6,
3255
- unitHeight: 6,
3256
- showExpand: true
3257
- }
3258
- )
3259
- ] })
3260
- ]
3261
- }
3262
- )
3263
- ] })
3264
- ] });
3265
- };
3266
- const Tables = {
3267
- _: () => {
3268
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Column, { children: [
3269
- /* @__PURE__ */ jsx(Tables.Data, {}),
3270
- /* @__PURE__ */ jsx(Tables.Normal, {}),
3271
- /* @__PURE__ */ jsx(Tables.Drag, {}),
3272
- /* @__PURE__ */ jsx(Tables.Spread, {})
3273
- ] }) });
3274
- },
3275
- Normal: () => {
3276
- let PureData = [];
3277
- for (var i = 0; i < 10; i++) {
3278
- let Row2 = [
3279
- { children: "head_" + i },
3280
- { children: "data_" + i },
3281
- { children: "data_" + i }
3282
- ];
3283
- PureData.push(Row2);
3284
- }
3285
- return /* @__PURE__ */ jsxs(Fragment, { children: [
3286
- /* @__PURE__ */ jsx(Box, { fontSize: "5.subTitle", children: "Table.Normal" }),
3287
- /* @__PURE__ */ jsx(
3288
- Table.Normal,
3289
- {
3290
- colLength: 3,
3291
- head: [
3292
- { children: "head1" },
3293
- { children: "head2" },
3294
- { children: "head3" }
3295
- ],
3296
- rows: PureData,
3297
- ssCardBox: true,
3298
- onRowClick: (rowID) => {
3299
- console.log(rowID);
3300
- }
3301
- }
3302
- )
3303
- ] });
3304
- },
3305
- Drag: () => {
3306
- let DragData = [];
3307
- for (var i = 0; i < 4; i++) {
3308
- let Row2 = [
3309
- { children: "head_" + i },
3310
- { children: "data_" + i },
3311
- { children: "data_" + i }
3312
- ];
3313
- Row2.rowID = "rowID-" + i;
3314
- DragData.push(Row2);
3315
- }
3316
- return /* @__PURE__ */ jsxs(Fragment, { children: [
3317
- /* @__PURE__ */ jsx(Box, { fontSize: "5.subTitle", children: "Table.Drag" }),
3318
- /* @__PURE__ */ jsx(
3319
- Table.Drag,
3320
- {
3321
- colLength: 3,
3322
- head: [
3323
- { children: "head1" },
3324
- { children: "head2" },
3325
- { children: "head3" }
3326
- ],
3327
- rows: DragData,
3328
- ssCardBox: true,
3329
- onOrderChanged: (args) => {
3330
- console.log(args);
3331
- }
3332
- }
3333
- )
3334
- ] });
3335
- },
3336
- Data: () => {
3337
- let DataData = [];
3338
- for (var i = 0; i < 100; i++) {
3339
- let random1 = Math.round(Math.random() * 50 + 1);
3340
- let random2 = Math.round(Math.random() * 50 + 1);
3341
- let random3 = Math.round(Math.random() * 50 + 1);
3342
- let Data1 = "name_" + random1;
3343
- let Data2 = "data_" + random2;
3344
- let Data3 = "data_" + random3;
3345
- let Row2 = [
3346
- {
3347
- type: "th",
3348
- children: i + ":" + Data1,
3349
- data: Data1,
3350
- orderIndex: i
3351
- },
3352
- {
3353
- type: "td",
3354
- children: Data2,
3355
- data: Data2
3356
- },
3357
- {
3358
- type: "td",
3359
- children: Data3,
3360
- data: Data3
3361
- }
3362
- ];
3363
- DataData.push(Row2);
3364
- }
3365
- DataData[1].checked = true;
3366
- DataData[4].checked = true;
3367
- DataData[10].checked = true;
3368
- let tableID = "testDataTable";
3369
- return /* @__PURE__ */ jsxs(Fragment, { children: [
3370
- /* @__PURE__ */ jsxs(
3371
- Flex,
3372
- {
3373
- horizontalAlign: "between",
3374
- children: [
3375
- /* @__PURE__ */ jsx(
3376
- Box,
3377
- {
3378
- fontSize: "5.subTitle",
3379
- children: "Table.Data"
3380
- }
3381
- ),
3382
- /* @__PURE__ */ jsxs(
3383
- Flex,
3384
- {
3385
- gap: "1/2",
3386
- backgroundColor: "theme",
3387
- borderRadius: "1.tone.primary",
3388
- overflow: "hidden",
3389
- fontColor: "white",
3390
- children: [
3391
- /* @__PURE__ */ jsx(
3392
- Button.Button.Clear.R,
3393
- {
3394
- color: "white",
3395
- children: "SubmitButton"
3396
- }
3397
- ),
3398
- /* @__PURE__ */ jsx(
3399
- Box,
3400
- {
3401
- flexSizing: "none",
3402
- unitWidth: "1/4",
3403
- backgroundColor: "lcOpMiddle",
3404
- isRounded: true,
3405
- margin: ["2/3", 0]
3406
- }
3407
- ),
3408
- /* @__PURE__ */ jsx(
3409
- Button.Button.Clear.R,
3410
- {
3411
- padding: [0, 1],
3412
- color: "white",
3413
- onClick: (event) => {
3414
- Tooltips.open({
3415
- tipsID: $$.uuid.gen(),
3416
- parent: event.target,
3417
- gravityPoint: 24,
3418
- close_option: {
3419
- aroundClick: true,
3420
- parentBlur: false
3421
- },
3422
- content: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(
3423
- Column,
3424
- {
3425
- gap: 0,
3426
- padding: ["2/3", 0],
3427
- backgroundColor: "1.layer.base",
3428
- borderRadius: 2,
3429
- boxShadow: "0.normal",
3430
- overflow: "hidden",
3431
- children: [
3432
- /* @__PURE__ */ jsx(
3433
- Button.Button.Clear.S,
3434
- {
3435
- borderRadius: 0,
3436
- borderBottom: "1.thin",
3437
- children: "\u3059\u3079\u3066\u3092\u51FA\u529B"
3438
- }
3439
- ),
3440
- /* @__PURE__ */ jsx(
3441
- Button.Button.Clear.S,
3442
- {
3443
- borderRadius: 0,
3444
- borderBottom: "1.thin",
3445
- children: "\u3053\u306E\u30DA\u30FC\u30B8\u306E\u307F\u51FA\u529B"
3446
- }
3447
- ),
3448
- /* @__PURE__ */ jsx(
3449
- Button.Button.Clear.S,
3450
- {
3451
- borderRadius: 0,
3452
- children: "\u30C1\u30A7\u30C3\u30AF\u3057\u305F\u884C\u306E\u307F\u51FA\u529B"
3453
- }
3454
- )
3455
- ]
3456
- }
3457
- ) })
3458
- });
3459
- },
3460
- children: /* @__PURE__ */ jsx(FAI.EllipsisV, {})
3461
- }
3462
- )
3463
- ]
3464
- }
3465
- )
3466
- ]
3467
- }
3468
- ),
3469
- /* @__PURE__ */ jsxs(
3470
- Row.Separate,
3471
- {
3472
- verticalAlign: "bottom",
3473
- children: [
3474
- /* @__PURE__ */ jsxs(
3475
- Row.Left,
3476
- {
3477
- verticalAlign: "bottom",
3478
- children: [
3479
- /* @__PURE__ */ jsx(Table.Data.SearchInput, { tableID }),
3480
- /* @__PURE__ */ jsx(Table.Data.Info, { tableID })
3481
- ]
3482
- }
3483
- ),
3484
- /* @__PURE__ */ jsxs(
3485
- Row.Right,
3486
- {
3487
- verticalAlign: "unset",
3488
- children: [
3489
- /* @__PURE__ */ jsx(
3490
- Table.Data.RowLength,
3491
- {
3492
- tableID,
3493
- lengthSelect: [30, 50, 100]
3494
- }
3495
- ),
3496
- /* @__PURE__ */ jsx(Table.Data.Paging, { tableID })
3497
- ]
3498
- }
3499
- )
3500
- ]
3501
- }
3502
- ),
3503
- /* @__PURE__ */ jsx(
3504
- Table.Data,
3505
- {
3506
- tableID,
3507
- colLength: 3,
3508
- head: [
3509
- { data: "head1" },
3510
- { data: "head2" },
3511
- { data: "head3" }
3512
- ],
3513
- rows: DataData,
3514
- pageRowLength: 30,
3515
- ssCardBox: true,
3516
- filter: [true],
3517
- checker: true
3518
- }
3519
- )
3520
- ] });
3521
- },
3522
- Spread: () => {
3523
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Box, { fontSize: "5.subTitle", children: "Table.Spread" }) });
3524
- }
3525
- };
3526
- const Cropping = () => {
3527
- let [val_ImageUrl1, set_ImageUrl1] = React.useState("");
3528
- let [val_ImageUrl2, set_ImageUrl2] = React.useState("");
3529
- let [val_ImageUrl3, set_ImageUrl3] = React.useState("");
3530
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Box, { children: [
3531
- /* @__PURE__ */ jsxs(
3532
- Button.Button.Prime.R,
3533
- {
3534
- onClick: () => {
3535
- Cropper.open({
3536
- use: "square",
3537
- develops: [
3538
- {
3539
- size: "S"
3540
- },
3541
- {
3542
- size: "R"
3543
- },
3544
- {
3545
- size: "L"
3546
- }
3547
- ],
3548
- onProcessFinished: (develops) => __async(void 0, null, function* () {
3549
- set_ImageUrl1(yield develops[0].toDataUrl());
3550
- set_ImageUrl2(yield develops[1].toDataUrl());
3551
- set_ImageUrl3(yield develops[2].toDataUrl());
3552
- })
3553
- });
3554
- },
3555
- children: [
3556
- /* @__PURE__ */ jsx(FAI.Image, {}),
3557
- " \u30A4\u30E1\u30FC\u30B8\u3092\u9078\u629E"
3558
- ]
3559
- }
3560
- ),
3561
- /* @__PURE__ */ jsxs(Flex, { verticalAlign: "top", gap: 1, children: [
3562
- val_ImageUrl1 && /* @__PURE__ */ jsx(
3563
- Img,
3564
- {
3565
- isRounded: true,
3566
- src: val_ImageUrl1,
3567
- alt: "",
3568
- showExpand: true,
3569
- freeCSS: {
3570
- maxWidth: 12 * 12
3571
- }
3572
- }
3573
- ),
3574
- val_ImageUrl2 && /* @__PURE__ */ jsx(
3575
- Img,
3576
- {
3577
- style: {
3578
- maxWidth: 24 * 12
3579
- },
3580
- src: val_ImageUrl2,
3581
- alt: "",
3582
- showExpand: true
3583
- }
3584
- ),
3585
- val_ImageUrl3 && /* @__PURE__ */ jsx(
3586
- Img,
3587
- {
3588
- style: {
3589
- maxWidth: 24 * 12
3590
- },
3591
- src: val_ImageUrl3,
3592
- alt: "",
3593
- showExpand: true
3594
- }
3595
- ),
3596
- /* @__PURE__ */ jsx(
3597
- Layout.SwipeView,
3598
- {
3599
- border: true,
3600
- borderWidth: 3,
3601
- margin: [3, "auto"],
3602
- freeCSS: {
3603
- // maxWidth: 12 * 30
3604
- width: 12 * 10
3605
- },
3606
- slideIndex: 1,
3607
- options: {
3608
- loop: true,
3609
- onSlideCallback: (index) => {
3610
- }
3611
- },
3612
- slides: [
3613
- /* @__PURE__ */ jsx(Box, { backgroundColor: "nega", padding: 3, flexCenter: true, children: "test1" }),
3614
- /* @__PURE__ */ jsx(Box, { backgroundColor: "posi", padding: 3, flexCenter: true, children: "test2" }),
3615
- /* @__PURE__ */ jsx(Box, { backgroundColor: "warn", padding: 3, flexCenter: true, children: "test3" }),
3616
- /* @__PURE__ */ jsx(Box, { backgroundColor: "theme", padding: 3, flexCenter: true, children: "test4" })
3617
- ]
3618
- }
3619
- )
3620
- ] })
3621
- ] }) });
3622
- };
3623
- const DesignBook = () => {
3624
- let [val_tabIndex, set_tabIndex] = React.useState(Number($$.getQueryParams().ti) || 0);
3625
- React.useEffect(() => {
3626
- $$.setQueryParam({ key: "ti", value: val_tabIndex });
3627
- }, [val_tabIndex]);
3628
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(
3629
- Column,
3630
- {
3631
- gap: 0,
3632
- minHeight: "contentHeight",
3633
- backgroundColor: "1.layer.base",
3634
- children: [
3635
- /* @__PURE__ */ jsx(
3636
- Layout.TabBar,
3637
- {
3638
- borderBottom: true,
3639
- position: "sticky",
3640
- backgroundColor: "1.layer.base",
3641
- top: "topBase",
3642
- tabIndex: val_tabIndex,
3643
- tabs: [
3644
- "Profiles",
3645
- "Basic",
3646
- "Buttons",
3647
- "Inputs",
3648
- "Styling",
3649
- "Effection",
3650
- "Tables",
3651
- "Croppie",
3652
- "PlayGround",
3653
- "Logo"
3654
- ],
3655
- onTabChange: (index) => {
3656
- localStorage.setItem("designTabHeader", String(index));
3657
- set_tabIndex(index);
3658
- },
3659
- UnderBreakPointStyles: {
3660
- position: "static",
3661
- top: 0
3662
- }
3663
- }
3664
- ),
3665
- /* @__PURE__ */ jsx(
3666
- Box,
3667
- {
3668
- flexSizing: 0,
3669
- position: "relative",
3670
- freeCSS: {
3671
- zIndex: 1
3672
- },
3673
- children: /* @__PURE__ */ jsx(
3674
- Layout.PageViewController,
3675
- {
3676
- viewIndex: val_tabIndex,
3677
- views: [
3678
- /* @__PURE__ */ jsx(Profiles._, {}),
3679
- /* @__PURE__ */ jsx(Basic._, {}),
3680
- /* @__PURE__ */ jsx(Buttons._, {}),
3681
- /* @__PURE__ */ jsx(Inputs, {}),
3682
- /* @__PURE__ */ jsx(Styling, {}),
3683
- /* @__PURE__ */ jsx(Effections._, {}),
3684
- /* @__PURE__ */ jsx(Tables._, {}),
3685
- /* @__PURE__ */ jsx(Cropping, {}),
3686
- /* @__PURE__ */ jsx(Logos._, {})
3687
- ],
3688
- wrapper: (View) => {
3689
- return /* @__PURE__ */ jsx(
3690
- Effect.FadeIn,
3691
- {
3692
- animationTime: 200,
3693
- children: /* @__PURE__ */ jsx(Layout.Plate, { children: /* @__PURE__ */ jsx(
3694
- Flex,
3695
- {
3696
- gap: 2,
3697
- padding: 2,
3698
- flexWrap: true,
3699
- flexChilds: "auto",
3700
- children: View
3701
- }
3702
- ) })
3703
- },
3704
- val_tabIndex
3705
- );
3706
- }
3707
- }
3708
- )
3709
- }
3710
- )
3711
- ]
3712
- }
3713
- ) });
3714
- };
3715
- export {
3716
- DesignBook,
3717
- DesignBook as default
3718
- };
99
+ } );`})}),t(h,{padding:2,children:[e(o,{flexCenter:!0,children:t(p,{gridCols:3,gap:1,children:[e(r.Button.Border.R,{onClick:()=>{a("normal.topLeft")},children:"Top Left"}),e(r.Button.Border.R,{onClick:()=>{a("normal.topCenter")},children:"Top Center"}),e(r.Button.Border.R,{onClick:()=>{a("normal.topRight")},children:"Top Right"}),e(r.Button.Border.R,{onClick:()=>{a("normal.middleLeft")},children:"Middle Left"}),e(r.Button.Border.R,{onClick:()=>{a("normal.middleCenter")},children:"Middle Center"}),e(r.Button.Border.R,{onClick:()=>{a("normal.middleRight")},children:"Middle Right"}),e(r.Button.Border.R,{onClick:()=>{a("normal.bottomLeft")},children:"Bottom Left"}),e(r.Button.Border.R,{onClick:()=>{a("normal.bottomCenter")},children:"Bottom Center"}),e(r.Button.Border.R,{onClick:()=>{a("normal.bottomRight")},children:"Bottom Right"}),e(r.Button.Border.R,{onClick:()=>{a("drawer.left")},children:"Drawer Left"}),e(r.Button.Border.R,{onClick:()=>{a("drawer.bottom")},children:"Drawer Bottom"}),e(r.Button.Border.R,{onClick:()=>{a("drawer.right")},children:"Drawer Right"}),e(r.Button.Border.R,{onClick:u=>{F.open({tipsID:"test40",content:e(o,{padding:1,border:!0,borderRadius:2,backgroundColor:"dark",fontColor:"white",children:"Content"}),parent:u.target})},children:"Open Tooltips"})]})}),t(B.Center,{children:["Image Picker",e(T,{src:l.Images.defaultIcon("user"),unitWidth:6,unitHeight:6,showExpand:!0})]})]})]})]})},D={_:()=>e(d,{children:t(h,{children:[e(D.Data,{}),e(D.Normal,{}),e(D.Drag,{}),e(D.Spread,{})]})}),Normal:()=>{let a=[];for(var u=0;u<10;u++){let s=[{children:"head_"+u},{children:"data_"+u},{children:"data_"+u}];a.push(s)}return t(d,{children:[e(o,{fontSize:"5.subTitle",children:"Table.Normal"}),e(b.Normal,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],rows:a,ssCardBox:!0,onRowClick:s=>{console.log(s)}})]})},Drag:()=>{let a=[];for(var u=0;u<4;u++){let s=[{children:"head_"+u},{children:"data_"+u},{children:"data_"+u}];s.rowID="rowID-"+u,a.push(s)}return t(d,{children:[e(o,{fontSize:"5.subTitle",children:"Table.Drag"}),e(b.Drag,{colLength:3,head:[{children:"head1"},{children:"head2"},{children:"head3"}],rows:a,ssCardBox:!0,onOrderChanged:s=>{console.log(s)}})]})},Data:()=>{let a=[];for(var u=0;u<100;u++){let x=Math.round(Math.random()*50+1),I=Math.round(Math.random()*50+1),A=Math.round(Math.random()*50+1),m="name_"+x,W="data_"+I,E="data_"+A,N=[{type:"th",children:u+":"+m,data:m,orderIndex:u},{type:"td",children:W,data:W},{type:"td",children:E,data:E}];a.push(N)}a[1].checked=!0,a[4].checked=!0,a[10].checked=!0;let s="testDataTable";return t(d,{children:[t(c,{horizontalAlign:"between",children:[e(o,{fontSize:"5.subTitle",children:"Table.Data"}),t(c,{gap:"1/2",backgroundColor:"theme",borderRadius:"1.tone.primary",overflow:"hidden",fontColor:"white",children:[e(r.Button.Clear.R,{color:"white",children:"SubmitButton"}),e(o,{flexSizing:"none",unitWidth:"1/4",backgroundColor:"lcOpMiddle",isRounded:!0,margin:["2/3",0]}),e(r.Button.Clear.R,{padding:[0,1],color:"white",onClick:x=>{F.open({tipsID:w.uuid.gen(),parent:x.target,gravityPoint:24,close_option:{aroundClick:!0,parentBlur:!1},content:e(d,{children:t(h,{gap:0,padding:["2/3",0],backgroundColor:"1.layer.base",borderRadius:2,boxShadow:"0.normal",overflow:"hidden",children:[e(r.Button.Clear.S,{borderRadius:0,borderBottom:"1.thin",children:"\u3059\u3079\u3066\u3092\u51FA\u529B"}),e(r.Button.Clear.S,{borderRadius:0,borderBottom:"1.thin",children:"\u3053\u306E\u30DA\u30FC\u30B8\u306E\u307F\u51FA\u529B"}),e(r.Button.Clear.S,{borderRadius:0,children:"\u30C1\u30A7\u30C3\u30AF\u3057\u305F\u884C\u306E\u307F\u51FA\u529B"})]})})})},children:e(g.EllipsisV,{})})]})]}),t(B.Separate,{verticalAlign:"bottom",children:[t(B.Left,{verticalAlign:"bottom",children:[e(b.Data.SearchInput,{tableID:s}),e(b.Data.Info,{tableID:s})]}),t(B.Right,{verticalAlign:"unset",children:[e(b.Data.RowLength,{tableID:s,lengthSelect:[30,50,100]}),e(b.Data.Paging,{tableID:s})]})]}),e(b.Data,{tableID:s,colLength:3,head:[{data:"head1"},{data:"head2"},{data:"head3"}],rows:a,pageRowLength:30,ssCardBox:!0,filter:[!0],checker:!0})]})},Spread:()=>e(d,{children:e(o,{fontSize:"5.subTitle",children:"Table.Spread"})})},Q=()=>{let[a,u]=S.useState(""),[s,x]=S.useState(""),[I,A]=S.useState("");return e(d,{children:t(o,{children:[t(r.Button.Prime.R,{onClick:()=>{J.open({use:"square",develops:[{size:"S"},{size:"R"},{size:"L"}],onProcessFinished:m=>y(void 0,null,function*(){u(yield m[0].toDataUrl()),x(yield m[1].toDataUrl()),A(yield m[2].toDataUrl())})})},children:[e(g.Image,{})," \u30A4\u30E1\u30FC\u30B8\u3092\u9078\u629E"]}),t(c,{verticalAlign:"top",gap:1,children:[a&&e(T,{isRounded:!0,src:a,alt:"",showExpand:!0,freeCSS:{maxWidth:12*12}}),s&&e(T,{style:{maxWidth:24*12},src:s,alt:"",showExpand:!0}),I&&e(T,{style:{maxWidth:24*12},src:I,alt:"",showExpand:!0}),e(k.SwipeView,{border:!0,borderWidth:3,margin:[3,"auto"],freeCSS:{width:12*10},slideIndex:1,options:{loop:!0,onSlideCallback:m=>{}},slides:[e(o,{backgroundColor:"nega",padding:3,flexCenter:!0,children:"test1"}),e(o,{backgroundColor:"posi",padding:3,flexCenter:!0,children:"test2"}),e(o,{backgroundColor:"warn",padding:3,flexCenter:!0,children:"test3"}),e(o,{backgroundColor:"theme",padding:3,flexCenter:!0,children:"test4"})]})]})]})})},_=()=>{let[a,u]=S.useState(Number(w.getQueryParams().ti)||0);return S.useEffect(()=>{w.setQueryParam({key:"ti",value:a})},[a]),e(d,{children:t(h,{gap:0,minHeight:"contentHeight",backgroundColor:"1.layer.base",children:[e(k.TabBar,{borderBottom:!0,position:"sticky",backgroundColor:"1.layer.base",top:"topBase",tabIndex:a,tabs:["Profiles","Basic","Buttons","Inputs","Styling","Effection","Tables","Croppie","PlayGround","Logo"],onTabChange:s=>{localStorage.setItem("designTabHeader",String(s)),u(s)},UnderBreakPointStyles:{position:"static",top:0}}),e(o,{flexSizing:0,position:"relative",freeCSS:{zIndex:1},children:e(k.PageViewController,{viewIndex:a,views:[e(M._,{}),e(R._,{}),e(P._,{}),e(K,{}),e(j,{}),e(L._,{}),e(D._,{}),e(Q,{}),e(f._,{})],wrapper:s=>e(q.FadeIn,{animationTime:200,children:e(k.Plate,{children:e(c,{gap:2,padding:2,flexWrap:!0,flexChilds:"auto",children:s})})},a)})})]})})};export{_ as DesignBook,_ as default};