@acusti/uikit-docs 0.2.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/main.ts +4 -8
- package/.storybook/manager.ts +1 -1
- package/.storybook/preview.ts +1 -1
- package/CHANGELOG.md +26 -0
- package/dist/assets/CSSValueInput-BgAgo3f9.css +1 -0
- package/dist/assets/CSSValueInput-BoZriUnh.js +1 -0
- package/dist/assets/CSSValueInput.stories-D1VcYZJ0.js +113 -0
- package/dist/assets/Color-AVL7NMMY-BeW0C7pE.js +1 -0
- package/dist/assets/DatePicker-l5oaNCVE.css +1 -0
- package/dist/assets/DatePicker.stories-BSWV31FV.js +244 -0
- package/dist/assets/DocsRenderer-PQXLIZUC-D92GwNti.js +2 -0
- package/dist/assets/Dropdown-D5cyjefk.css +1 -0
- package/dist/assets/Dropdown-DUP_ybXe.js +84 -0
- package/dist/assets/Dropdown.stories-2Wtw1otE.js +336 -0
- package/dist/assets/InputText-Tkbh5amB.css +1 -0
- package/dist/assets/InputText.stories-BYt2Aj0_.js +90 -0
- package/dist/assets/Introduction-nSE2hjmb.js +183 -0
- package/dist/assets/MonthCalendar.stories-IJrL6wIl.js +169 -0
- package/dist/assets/accessibility-W_h2acOZ.png +0 -0
- package/dist/assets/addon-library-BWUCAmyN.png +0 -0
- package/dist/assets/blocks-Du178fXa.js +658 -0
- package/dist/assets/client-B2qWCcIR.js +25 -0
- package/dist/assets/clsx-hXifHU8N.js +9 -0
- package/dist/assets/context-C0qIqeS4.png +0 -0
- package/dist/assets/docs---vsFbMi.png +0 -0
- package/dist/assets/figma-plugin-CH2hELiO.png +0 -0
- package/dist/assets/iframe-ByGa_ItU.js +1102 -0
- package/dist/assets/index-BRXcJgsA.js +1 -0
- package/dist/assets/index-BVajFqaV.js +1 -0
- package/dist/assets/index-DwJ-mRZ2.js +9 -0
- package/dist/assets/jsx-runtime-D_zvdyIk.js +9 -0
- package/dist/assets/react-18-djOrgGe8.js +1 -0
- package/dist/assets/share-DGA-UcQf.png +0 -0
- package/dist/assets/styling-Bk6zjRzU.png +0 -0
- package/dist/assets/testing-cbzR9l9r.png +0 -0
- package/dist/assets/theming-D6WJLNoW.png +0 -0
- package/dist/assets/useIsOutOfBounds--pZPDsvJ.css +1 -0
- package/dist/assets/useIsOutOfBounds.stories-e48KZd_G.js +105 -0
- package/dist/assets/useKeyboardEvents-BH4Zd7d3.css +1 -0
- package/dist/assets/useKeyboardEvents.stories-CJbDuGfk.js +3 -0
- package/dist/favicon.svg +1 -0
- package/dist/iframe.html +685 -0
- package/dist/index.html +152 -0
- package/dist/index.json +1 -0
- package/dist/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/nunito-sans-bold.woff2 +0 -0
- package/dist/nunito-sans-italic.woff2 +0 -0
- package/dist/nunito-sans-regular.woff2 +0 -0
- package/dist/project.json +1 -0
- package/dist/sb-addons/docs-1/manager-bundle.js +151 -0
- package/dist/sb-addons/storybook-2/manager-bundle.js +3 -0
- package/dist/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +188 -0
- package/dist/sb-common-assets/favicon.svg +1 -0
- package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/dist/sb-manager/globals-module-info.js +797 -0
- package/dist/sb-manager/globals-runtime.js +72053 -0
- package/dist/sb-manager/globals.js +34 -0
- package/dist/sb-manager/runtime.js +13001 -0
- package/package.json +14 -10
- package/stories/CSSValueInput.stories.tsx +3 -3
- package/stories/DatePicker.stories.tsx +3 -3
- package/stories/Dropdown.css +119 -71
- package/stories/Dropdown.stories.tsx +3 -3
- package/stories/InputText.css +12 -1
- package/stories/InputText.stories.tsx +29 -6
- package/stories/Introduction.mdx +1 -1
- package/stories/MonthCalendar.stories.ts +1 -1
- package/stories/useIsOutOfBounds.css +1 -1
- package/stories/useIsOutOfBounds.stories.tsx +8 -5
- package/stories/useKeyboardEvents.stories.tsx +1 -1
- package/tsconfig.json +13 -1
- package/tsconfig.tsbuildinfo +1 -0
- package/stories/Button.stories.ts +0 -50
- package/stories/Button.tsx +0 -48
- package/stories/Header.stories.ts +0 -27
- package/stories/Header.tsx +0 -66
- package/stories/Page.stories.ts +0 -29
- package/stories/Page.tsx +0 -91
- package/stories/button.css +0 -30
- package/stories/header.css +0 -32
- package/stories/page.css +0 -69
package/dist/index.html
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
|
|
6
|
+
<title>storybook - Storybook</title>
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
<link rel="icon" type="image/svg+xml" href="./favicon.svg" />
|
|
11
|
+
|
|
12
|
+
<style>
|
|
13
|
+
@font-face {
|
|
14
|
+
font-family: 'Nunito Sans';
|
|
15
|
+
font-style: normal;
|
|
16
|
+
font-weight: 400;
|
|
17
|
+
font-display: swap;
|
|
18
|
+
src: url('./sb-common-assets/nunito-sans-regular.woff2') format('woff2');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@font-face {
|
|
22
|
+
font-family: 'Nunito Sans';
|
|
23
|
+
font-style: italic;
|
|
24
|
+
font-weight: 400;
|
|
25
|
+
font-display: swap;
|
|
26
|
+
src: url('./sb-common-assets/nunito-sans-italic.woff2') format('woff2');
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@font-face {
|
|
30
|
+
font-family: 'Nunito Sans';
|
|
31
|
+
font-style: normal;
|
|
32
|
+
font-weight: 700;
|
|
33
|
+
font-display: swap;
|
|
34
|
+
src: url('./sb-common-assets/nunito-sans-bold.woff2') format('woff2');
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@font-face {
|
|
38
|
+
font-family: 'Nunito Sans';
|
|
39
|
+
font-style: italic;
|
|
40
|
+
font-weight: 700;
|
|
41
|
+
font-display: swap;
|
|
42
|
+
src: url('./sb-common-assets/nunito-sans-bold-italic.woff2') format('woff2');
|
|
43
|
+
}
|
|
44
|
+
</style>
|
|
45
|
+
|
|
46
|
+
<link href="./sb-manager/runtime.js" rel="modulepreload" />
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
<link href="./sb-addons/storybook-core-server-presets-0/common-manager-bundle.js" rel="modulepreload" />
|
|
50
|
+
|
|
51
|
+
<link href="./sb-addons/docs-1/manager-bundle.js" rel="modulepreload" />
|
|
52
|
+
|
|
53
|
+
<link href="./sb-addons/storybook-2/manager-bundle.js" rel="modulepreload" />
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
<style>
|
|
57
|
+
#storybook-root[hidden] {
|
|
58
|
+
display: none !important;
|
|
59
|
+
}
|
|
60
|
+
</style>
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
</head>
|
|
64
|
+
<body>
|
|
65
|
+
<div id="root"></div>
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
<script>
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
window['FEATURES'] = {
|
|
72
|
+
"argTypeTargetsV7": true,
|
|
73
|
+
"legacyDecoratorFileOrder": false,
|
|
74
|
+
"disallowImplicitActionsInRenderV8": true,
|
|
75
|
+
"viewport": true,
|
|
76
|
+
"highlight": true,
|
|
77
|
+
"controls": true,
|
|
78
|
+
"interactions": true,
|
|
79
|
+
"actions": true,
|
|
80
|
+
"backgrounds": true,
|
|
81
|
+
"outline": true,
|
|
82
|
+
"measure": true
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
window['REFS'] = {};
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
window['LOGLEVEL'] = "info";
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
window['DOCS_OPTIONS'] = {
|
|
96
|
+
"defaultName": "Docs"
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
window['CONFIG_TYPE'] = "PRODUCTION";
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
window['TAGS_OPTIONS'] = {
|
|
110
|
+
"dev-only": {
|
|
111
|
+
"excludeFromDocsStories": true
|
|
112
|
+
},
|
|
113
|
+
"docs-only": {
|
|
114
|
+
"excludeFromSidebar": true
|
|
115
|
+
},
|
|
116
|
+
"test-only": {
|
|
117
|
+
"excludeFromSidebar": true,
|
|
118
|
+
"excludeFromDocsStories": true
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
window['STORYBOOK_RENDERER'] = "react";
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
window['STORYBOOK_BUILDER'] = "@storybook/builder-vite";
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
window['STORYBOOK_FRAMEWORK'] = "/Users/andrew/Projects/uikit/.yarn/__virtual__/@storybook-react-vite-virtual-42cadf2469/0/cache/@storybook-react-vite-npm-9.0.0-rc.4-9ac7ccaa29-63381fd053.zip/node_modules/@storybook/react-vite";
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
</script>
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
<script type="module">
|
|
139
|
+
import './sb-manager/globals-runtime.js';
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
import './sb-addons/storybook-core-server-presets-0/common-manager-bundle.js';
|
|
143
|
+
|
|
144
|
+
import './sb-addons/docs-1/manager-bundle.js';
|
|
145
|
+
|
|
146
|
+
import './sb-addons/storybook-2/manager-bundle.js';
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
import './sb-manager/runtime.js';
|
|
150
|
+
</script>
|
|
151
|
+
</body>
|
|
152
|
+
</html>
|
package/dist/index.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"v":5,"entries":{"uikit-introduction--docs":{"id":"uikit-introduction--docs","title":"UIKit/Introduction","name":"Docs","importPath":"./stories/Introduction.mdx","storiesImports":[],"type":"docs","tags":["dev","test","unattached-mdx"]},"uikit-controls-cssvalueinput--docs":{"id":"uikit-controls-cssvalueinput--docs","title":"UIKit/Controls/CSSValueInput","name":"Docs","importPath":"./stories/CSSValueInput.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"uikit-controls-cssvalueinput--length":{"type":"story","id":"uikit-controls-cssvalueinput--length","name":"Length","title":"UIKit/Controls/CSSValueInput","importPath":"./stories/CSSValueInput.stories.tsx","componentPath":"../../css-value-input/src/CSSValueInput.js","tags":["dev","test","autodocs"]},"uikit-controls-cssvalueinput--time":{"type":"story","id":"uikit-controls-cssvalueinput--time","name":"Time","title":"UIKit/Controls/CSSValueInput","importPath":"./stories/CSSValueInput.stories.tsx","componentPath":"../../css-value-input/src/CSSValueInput.js","tags":["dev","test","autodocs"]},"uikit-controls-cssvalueinput--angle":{"type":"story","id":"uikit-controls-cssvalueinput--angle","name":"Angle","title":"UIKit/Controls/CSSValueInput","importPath":"./stories/CSSValueInput.stories.tsx","componentPath":"../../css-value-input/src/CSSValueInput.js","tags":["dev","test","autodocs"]},"uikit-controls-cssvalueinput--percent":{"type":"story","id":"uikit-controls-cssvalueinput--percent","name":"Percent","title":"UIKit/Controls/CSSValueInput","importPath":"./stories/CSSValueInput.stories.tsx","componentPath":"../../css-value-input/src/CSSValueInput.js","tags":["dev","test","autodocs"]},"uikit-controls-cssvalueinput--label-less":{"type":"story","id":"uikit-controls-cssvalueinput--label-less","name":"Label Less","title":"UIKit/Controls/CSSValueInput","importPath":"./stories/CSSValueInput.stories.tsx","componentPath":"../../css-value-input/src/CSSValueInput.js","tags":["dev","test","autodocs"]},"uikit-controls-cssvalueinput--custom-get-value-as-number":{"type":"story","id":"uikit-controls-cssvalueinput--custom-get-value-as-number","name":"Custom Get Value As Number","title":"UIKit/Controls/CSSValueInput","importPath":"./stories/CSSValueInput.stories.tsx","componentPath":"../../css-value-input/src/CSSValueInput.js","tags":["dev","test","autodocs"]},"uikit-controls-cssvalueinput--background-size":{"type":"story","id":"uikit-controls-cssvalueinput--background-size","name":"Background Size","title":"UIKit/Controls/CSSValueInput","importPath":"./stories/CSSValueInput.stories.tsx","componentPath":"../../css-value-input/src/CSSValueInput.js","tags":["dev","test","autodocs"]},"uikit-controls-cssvalueinput--z-index":{"type":"story","id":"uikit-controls-cssvalueinput--z-index","name":"Z Index","title":"UIKit/Controls/CSSValueInput","importPath":"./stories/CSSValueInput.stories.tsx","componentPath":"../../css-value-input/src/CSSValueInput.js","tags":["dev","test","autodocs"]},"uikit-controls-cssvalueinput--number-value":{"type":"story","id":"uikit-controls-cssvalueinput--number-value","name":"Number Value","title":"UIKit/Controls/CSSValueInput","importPath":"./stories/CSSValueInput.stories.tsx","componentPath":"../../css-value-input/src/CSSValueInput.js","tags":["dev","test","autodocs"]},"uikit-controls-cssvalueinput--line-height":{"type":"story","id":"uikit-controls-cssvalueinput--line-height","name":"Line Height","title":"UIKit/Controls/CSSValueInput","importPath":"./stories/CSSValueInput.stories.tsx","componentPath":"../../css-value-input/src/CSSValueInput.js","tags":["dev","test","autodocs"]},"uikit-controls-datepicker-datepicker--docs":{"id":"uikit-controls-datepicker-datepicker--docs","title":"UIKit/Controls/DatePicker/DatePicker","name":"Docs","importPath":"./stories/DatePicker.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"uikit-controls-datepicker-datepicker--default-date-picker":{"type":"story","id":"uikit-controls-datepicker-datepicker--default-date-picker","name":"Default Date Picker","title":"UIKit/Controls/DatePicker/DatePicker","importPath":"./stories/DatePicker.stories.tsx","componentPath":"../date-picker/src","tags":["dev","test","autodocs"]},"uikit-controls-datepicker-datepicker--two-up-date-picker":{"type":"story","id":"uikit-controls-datepicker-datepicker--two-up-date-picker","name":"Two Up Date Picker","title":"UIKit/Controls/DatePicker/DatePicker","importPath":"./stories/DatePicker.stories.tsx","componentPath":"../date-picker/src","tags":["dev","test","autodocs"]},"uikit-controls-datepicker-datepicker--date-range-navidad-dia-de-los-reyes-date-picker":{"type":"story","id":"uikit-controls-datepicker-datepicker--date-range-navidad-dia-de-los-reyes-date-picker","name":"Date Range Navidad Dia De Los Reyes Date Picker","title":"UIKit/Controls/DatePicker/DatePicker","importPath":"./stories/DatePicker.stories.tsx","componentPath":"../date-picker/src","tags":["dev","test","autodocs"]},"uikit-controls-datepicker-datepicker--no-future-two-up-date-picker":{"type":"story","id":"uikit-controls-datepicker-datepicker--no-future-two-up-date-picker","name":"No Future Two Up Date Picker","title":"UIKit/Controls/DatePicker/DatePicker","importPath":"./stories/DatePicker.stories.tsx","componentPath":"../date-picker/src","tags":["dev","test","autodocs"]},"uikit-controls-datepicker-datepicker--show-end-initially-date-picker":{"type":"story","id":"uikit-controls-datepicker-datepicker--show-end-initially-date-picker","name":"Show End Initially Date Picker","title":"UIKit/Controls/DatePicker/DatePicker","importPath":"./stories/DatePicker.stories.tsx","componentPath":"../date-picker/src","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--docs":{"id":"uikit-controls-dropdown--docs","title":"UIKit/Controls/Dropdown","name":"Docs","importPath":"./stories/Dropdown.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"uikit-controls-dropdown--css-lengths-dropdown":{"type":"story","id":"uikit-controls-dropdown--css-lengths-dropdown","name":"CSS Lengths Dropdown","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--states-dropdown":{"type":"story","id":"uikit-controls-dropdown--states-dropdown","name":"States Dropdown","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--font-weight-dropdown":{"type":"story","id":"uikit-controls-dropdown--font-weight-dropdown","name":"Font Weight Dropdown","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--show-context-menu-on-mount":{"type":"story","id":"uikit-controls-dropdown--show-context-menu-on-mount","name":"Show Context Menu On Mount","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--dropdown-with-interactive-contents":{"type":"story","id":"uikit-controls-dropdown--dropdown-with-interactive-contents","name":"Dropdown With Interactive Contents","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--searchable-with-label":{"type":"story","id":"uikit-controls-dropdown--searchable-with-label","name":"Searchable With Label","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--searchable-and-allow-create":{"type":"story","id":"uikit-controls-dropdown--searchable-and-allow-create","name":"Searchable And Allow Create","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--css-value-input-trigger":{"type":"story","id":"uikit-controls-dropdown--css-value-input-trigger","name":"CSS Value Input Trigger","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--textarea-trigger":{"type":"story","id":"uikit-controls-dropdown--textarea-trigger","name":"Textarea Trigger","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--checkboxes-dropdown":{"type":"story","id":"uikit-controls-dropdown--checkboxes-dropdown","name":"Checkboxes Dropdown","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--disabled-dropdown":{"type":"story","id":"uikit-controls-dropdown--disabled-dropdown","name":"Disabled Dropdown","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--overlapping-dropdown":{"type":"story","id":"uikit-controls-dropdown--overlapping-dropdown","name":"Overlapping Dropdown","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--out-of-bounds-at-right":{"type":"story","id":"uikit-controls-dropdown--out-of-bounds-at-right","name":"Out Of Bounds At Right","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-dropdown--out-of-bounds-with-no-direction-change":{"type":"story","id":"uikit-controls-dropdown--out-of-bounds-with-no-direction-change","name":"Out Of Bounds With No Direction Change","title":"UIKit/Controls/Dropdown","importPath":"./stories/Dropdown.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-controls-inputtext--docs":{"id":"uikit-controls-inputtext--docs","title":"UIKit/Controls/InputText","name":"Docs","importPath":"./stories/InputText.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"uikit-controls-inputtext--empty-input":{"type":"story","id":"uikit-controls-inputtext--empty-input","name":"Empty Input","title":"UIKit/Controls/InputText","importPath":"./stories/InputText.stories.tsx","componentPath":"../../input-text/src/InputText.js","tags":["dev","test","autodocs"]},"uikit-controls-inputtext--input-with-initial-value":{"type":"story","id":"uikit-controls-inputtext--input-with-initial-value","name":"Input With Initial Value","title":"UIKit/Controls/InputText","importPath":"./stories/InputText.stories.tsx","componentPath":"../../input-text/src/InputText.js","tags":["dev","test","autodocs"]},"uikit-controls-inputtext--input-with-initial-value-and-select-text-on-focus":{"type":"story","id":"uikit-controls-inputtext--input-with-initial-value-and-select-text-on-focus","name":"Input With Initial Value And Select Text On Focus","title":"UIKit/Controls/InputText","importPath":"./stories/InputText.stories.tsx","componentPath":"../../input-text/src/InputText.js","tags":["dev","test","autodocs"]},"uikit-controls-inputtext--multi-line-input-with-initial-value-and-select-text-on-focus":{"type":"story","id":"uikit-controls-inputtext--multi-line-input-with-initial-value-and-select-text-on-focus","name":"Multi Line Input With Initial Value And Select Text On Focus","title":"UIKit/Controls/InputText","importPath":"./stories/InputText.stories.tsx","componentPath":"../../input-text/src/InputText.js","tags":["dev","test","autodocs"]},"uikit-controls-inputtext--multi-line-input-with-submit-on-enter":{"type":"story","id":"uikit-controls-inputtext--multi-line-input-with-submit-on-enter","name":"Multi Line Input With Submit On Enter","title":"UIKit/Controls/InputText","importPath":"./stories/InputText.stories.tsx","componentPath":"../../input-text/src/InputText.js","tags":["dev","test","autodocs"]},"uikit-controls-inputtext--multi-line-input-with-submit-on-enter-no-form":{"type":"story","id":"uikit-controls-inputtext--multi-line-input-with-submit-on-enter-no-form","name":"Multi Line Input With Submit On Enter No Form","title":"UIKit/Controls/InputText","importPath":"./stories/InputText.stories.tsx","componentPath":"../../input-text/src/InputText.js","tags":["dev","test","autodocs"]},"uikit-controls-inputtext--input-with-double-click-to-edit":{"type":"story","id":"uikit-controls-inputtext--input-with-double-click-to-edit","name":"Input With Double Click To Edit","title":"UIKit/Controls/InputText","importPath":"./stories/InputText.stories.tsx","componentPath":"../../input-text/src/InputText.js","tags":["dev","test","autodocs"]},"uikit-controls-inputtext--input-with-auto-focus":{"type":"story","id":"uikit-controls-inputtext--input-with-auto-focus","name":"Input With Auto Focus","title":"UIKit/Controls/InputText","importPath":"./stories/InputText.stories.tsx","componentPath":"../../input-text/src/InputText.js","tags":["dev","test","autodocs"]},"uikit-controls-inputtext--multi-line-input-in-popover":{"type":"story","id":"uikit-controls-inputtext--multi-line-input-in-popover","name":"Multi Line Input In Popover","title":"UIKit/Controls/InputText","importPath":"./stories/InputText.stories.tsx","componentPath":"../../input-text/src/InputText.js","tags":["dev","test","autodocs"]},"uikit-controls-inputtext--multi-line-input-with-auto-focus-in-popover":{"type":"story","id":"uikit-controls-inputtext--multi-line-input-with-auto-focus-in-popover","name":"Multi Line Input With Auto Focus In Popover","title":"UIKit/Controls/InputText","importPath":"./stories/InputText.stories.tsx","componentPath":"../../input-text/src/InputText.js","tags":["dev","test","autodocs"]},"uikit-controls-datepicker-monthcalendar--docs":{"id":"uikit-controls-datepicker-monthcalendar--docs","title":"UIKit/Controls/DatePicker/MonthCalendar","name":"Docs","importPath":"./stories/MonthCalendar.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"uikit-controls-datepicker-monthcalendar--this-months-calendar":{"type":"story","id":"uikit-controls-datepicker-monthcalendar--this-months-calendar","name":"This Months Calendar","title":"UIKit/Controls/DatePicker/MonthCalendar","importPath":"./stories/MonthCalendar.stories.ts","componentPath":"../../date-picker/src/index.js","tags":["dev","test","autodocs"]},"uikit-controls-datepicker-monthcalendar--february-1985-calendar":{"type":"story","id":"uikit-controls-datepicker-monthcalendar--february-1985-calendar","name":"February 1985 Calendar","title":"UIKit/Controls/DatePicker/MonthCalendar","importPath":"./stories/MonthCalendar.stories.ts","componentPath":"../../date-picker/src/index.js","tags":["dev","test","autodocs"]},"uikit-controls-datepicker-monthcalendar--date-range-diwali-calendar":{"type":"story","id":"uikit-controls-datepicker-monthcalendar--date-range-diwali-calendar","name":"Date Range Diwali Calendar","title":"UIKit/Controls/DatePicker/MonthCalendar","importPath":"./stories/MonthCalendar.stories.ts","componentPath":"../../date-picker/src/index.js","tags":["dev","test","autodocs"]},"uikit-hooks-useisoutofbounds--docs":{"id":"uikit-hooks-useisoutofbounds--docs","title":"UIKit/Hooks/useIsOutOfBounds","name":"Docs","importPath":"./stories/useIsOutOfBounds.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"uikit-hooks-useisoutofbounds--not-out-of-bounds":{"type":"story","id":"uikit-hooks-useisoutofbounds--not-out-of-bounds","name":"Not Out Of Bounds","title":"UIKit/Hooks/useIsOutOfBounds","importPath":"./stories/useIsOutOfBounds.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-hooks-useisoutofbounds--out-of-bounds-at-bottom":{"type":"story","id":"uikit-hooks-useisoutofbounds--out-of-bounds-at-bottom","name":"Out Of Bounds At Bottom","title":"UIKit/Hooks/useIsOutOfBounds","importPath":"./stories/useIsOutOfBounds.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-hooks-useisoutofbounds--out-of-bounds-at-right":{"type":"story","id":"uikit-hooks-useisoutofbounds--out-of-bounds-at-right","name":"Out Of Bounds At Right","title":"UIKit/Hooks/useIsOutOfBounds","importPath":"./stories/useIsOutOfBounds.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-hooks-useisoutofbounds--out-of-bounds-top-and-bottom":{"type":"story","id":"uikit-hooks-useisoutofbounds--out-of-bounds-top-and-bottom","name":"Out Of Bounds Top And Bottom","title":"UIKit/Hooks/useIsOutOfBounds","importPath":"./stories/useIsOutOfBounds.stories.tsx","componentPath":"../../dropdown/src/Dropdown.js","tags":["dev","test","autodocs"]},"uikit-hooks-usekeyboardevents--docs":{"id":"uikit-hooks-usekeyboardevents--docs","title":"UIKit/Hooks/useKeyboardEvents","name":"Docs","importPath":"./stories/useKeyboardEvents.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"uikit-hooks-usekeyboardevents--use-keyboard-events":{"type":"story","id":"uikit-hooks-usekeyboardevents--use-keyboard-events","name":"Use Keyboard Events","title":"UIKit/Hooks/useKeyboardEvents","importPath":"./stories/useKeyboardEvents.stories.tsx","tags":["dev","test","autodocs"]}}}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"generatedAt":1748812329459,"userSince":1747496470581,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"testPackages":{},"hasRouterPackage":false,"monorepo":"Workspaces","packageManager":{"type":"yarn","version":"berry","agent":"yarn@berry"},"typescriptOptions":{"check":false,"reactDocgen":"react-docgen"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"applicationFileCount":2,"language":"typescript","storybookPackages":{"@storybook/addon-docs":{"version":"9.0.0-rc.4"},"@storybook/react-vite":{"version":"9.0.0-rc.4"},"storybook":{"version":"9.0.0-rc.4"}},"addons":{"$SNIP/.yarn/__virtual__/@storybook-addon-docs-virtual-5a3e4c6b75/0/cache/@storybook-addon-docs-npm-9.0.0-rc.4-7fb1ea40fd-391543bbb7.zip/node_modules/@storybook/addon-docs":{"version":null}}}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
try{
|
|
2
|
+
(()=>{var l=__REACT__,{Children:lt,Component:dt,Fragment:ft,Profiler:ct,PureComponent:mt,StrictMode:ht,Suspense:bt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:gt,act:yt,cloneElement:vt,createContext:xt,createElement:St,createFactory:Tt,createRef:wt,forwardRef:Pt,isValidElement:kt,lazy:_t,memo:Ct,startTransition:Et,unstable_act:It,useCallback:Rt,useContext:Ft,useDebugValue:Ot,useDeferredValue:jt,useEffect:G,useId:Ht,useImperativeHandle:zt,useInsertionEffect:At,useLayoutEffect:Mt,useMemo:Bt,useReducer:Nt,useRef:Lt,useState:K,useSyncExternalStore:$t,useTransition:Dt,version:qt}=__REACT__;var Ut=__STORYBOOK_COMPONENTS__,{A:Zt,ActionBar:Jt,AddonPanel:U,Badge:Qt,Bar:Xt,Blockquote:Vt,Button:er,Checkbox:tr,ClipboardCode:rr,Code:ar,DL:nr,Div:or,DocumentWrapper:sr,EmptyTabContent:ir,ErrorFormatter:pr,FlexBar:ur,Form:lr,H1:dr,H2:fr,H3:cr,H4:mr,H5:hr,H6:br,HR:gr,IconButton:yr,Img:vr,LI:xr,Link:Sr,ListItem:Tr,Loader:wr,Modal:Pr,OL:kr,P:_r,Placeholder:Cr,Pre:Er,ProgressSpinner:Ir,ResetWrapper:Rr,ScrollArea:Fr,Separator:Or,Spaced:jr,Span:Hr,StorybookIcon:zr,StorybookLogo:Ar,SyntaxHighlighter:Z,TT:Mr,TabBar:Br,TabButton:Nr,TabWrapper:Lr,Table:$r,Tabs:Dr,TabsState:qr,TooltipLinkList:Wr,TooltipMessage:Yr,TooltipNote:Gr,UL:Kr,WithTooltip:Ur,WithTooltipPure:Zr,Zoom:Jr,codeCommon:Qr,components:Xr,createCopyToClipboardFunction:Vr,getStoryHref:ea,interleaveSeparators:ta,nameSpaceClassNames:ra,resetComponents:aa,withReset:J}=__STORYBOOK_COMPONENTS__;var pa=__STORYBOOK_API__,{ActiveTabs:ua,Consumer:la,ManagerContext:da,Provider:fa,RequestResponseError:ca,addons:j,combineParameters:ma,controlOrMetaKey:ha,controlOrMetaSymbol:ba,eventMatchesShortcut:ga,eventToShortcut:ya,experimental_MockUniversalStore:va,experimental_UniversalStore:xa,experimental_getStatusStore:Sa,experimental_getTestProviderStore:Ta,experimental_requestResponse:wa,experimental_useStatusStore:Pa,experimental_useTestProviderStore:ka,experimental_useUniversalStore:_a,internal_fullStatusStore:Ca,internal_fullTestProviderStore:Ea,internal_universalStatusStore:Ia,internal_universalTestProviderStore:Ra,isMacLike:Fa,isShortcutTaken:Oa,keyToSymbol:ja,merge:Ha,mockChannel:za,optionOrAltSymbol:Aa,shortcutMatchesShortcut:Ma,shortcutToHumanString:Ba,types:Q,useAddonState:Na,useArgTypes:La,useArgs:$a,useChannel:X,useGlobalTypes:Da,useGlobals:qa,useParameter:V,useSharedState:Wa,useStoryPrepared:Ya,useStorybookApi:Ga,useStorybookState:Ka}=__STORYBOOK_API__;var Xa=__STORYBOOK_THEMING__,{CacheProvider:Va,ClassNames:en,Global:tn,ThemeProvider:ee,background:rn,color:an,convert:te,create:nn,createCache:on,createGlobal:sn,createReset:pn,css:un,darken:ln,ensure:dn,ignoreSsrWarning:H,isPropValid:fn,jsx:cn,keyframes:mn,lighten:hn,styled:w,themes:z,typography:bn,useTheme:A,withTheme:gn}=__STORYBOOK_THEMING__;var W="storybook/docs",le=`${W}/panel`,re="docs",ae=`${W}/snippet-rendered`;function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},d.apply(null,arguments)}function de(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e,t){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},C(e,t)}function fe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,C(e,t)}function L(e){return L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},L(e)}function ce(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function oe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(oe=function(){return!!e})()}function me(e,t,r){if(oe())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var n=new(e.bind.apply(e,a));return r&&C(n,r.prototype),n}function $(e){var t=typeof Map=="function"?new Map:void 0;return $=function(r){if(r===null||!ce(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return me(r,arguments,L(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),C(a,r)},$(e)}var he={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).
|
|
3
|
+
|
|
4
|
+
`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).
|
|
5
|
+
|
|
6
|
+
`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color.
|
|
7
|
+
|
|
8
|
+
`,4:`Couldn't generate valid rgb string from %s, it returned %s.
|
|
9
|
+
|
|
10
|
+
`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.
|
|
11
|
+
|
|
12
|
+
`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).
|
|
13
|
+
|
|
14
|
+
`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).
|
|
15
|
+
|
|
16
|
+
`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.
|
|
17
|
+
|
|
18
|
+
`,9:`Please provide a number of steps to the modularScale helper.
|
|
19
|
+
|
|
20
|
+
`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.
|
|
21
|
+
|
|
22
|
+
`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s"
|
|
23
|
+
|
|
24
|
+
`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead.
|
|
25
|
+
|
|
26
|
+
`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead.
|
|
27
|
+
|
|
28
|
+
`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12.
|
|
29
|
+
|
|
30
|
+
`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12.
|
|
31
|
+
|
|
32
|
+
`,16:`You must provide a template to this method.
|
|
33
|
+
|
|
34
|
+
`,17:`You passed an unsupported selector state to this method.
|
|
35
|
+
|
|
36
|
+
`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units.
|
|
37
|
+
|
|
38
|
+
`,19:`fromSize and toSize must be provided as stringified numbers with the same units.
|
|
39
|
+
|
|
40
|
+
`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize.
|
|
41
|
+
|
|
42
|
+
`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family.
|
|
43
|
+
|
|
44
|
+
`,24:`fontFace expects either the path to the font file(s) or a name of a local copy.
|
|
45
|
+
|
|
46
|
+
`,25:`fontFace expects localFonts to be an array.
|
|
47
|
+
|
|
48
|
+
`,26:`fontFace expects fileFormats to be an array.
|
|
49
|
+
|
|
50
|
+
`,27:`radialGradient requries at least 2 color-stops to properly render.
|
|
51
|
+
|
|
52
|
+
`,28:`Please supply a filename to retinaImage() as the first argument.
|
|
53
|
+
|
|
54
|
+
`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.
|
|
55
|
+
|
|
56
|
+
`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation
|
|
57
|
+
|
|
58
|
+
`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])
|
|
59
|
+
To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')
|
|
60
|
+
|
|
61
|
+
`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation
|
|
62
|
+
|
|
63
|
+
`,34:`borderRadius expects a radius value as a string or number as the second argument.
|
|
64
|
+
|
|
65
|
+
`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.
|
|
66
|
+
|
|
67
|
+
`,36:`Property must be a string value.
|
|
68
|
+
|
|
69
|
+
`,37:`Syntax Error at %s.
|
|
70
|
+
|
|
71
|
+
`,38:`Formula contains a function that needs parentheses at %s.
|
|
72
|
+
|
|
73
|
+
`,39:`Formula is missing closing parenthesis at %s.
|
|
74
|
+
|
|
75
|
+
`,40:`Formula has too many closing parentheses at %s.
|
|
76
|
+
|
|
77
|
+
`,41:`All values in a formula must have the same unit or be unitless.
|
|
78
|
+
|
|
79
|
+
`,42:`Please provide a number of steps to the modularScale helper.
|
|
80
|
+
|
|
81
|
+
`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio.
|
|
82
|
+
|
|
83
|
+
`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s.
|
|
84
|
+
|
|
85
|
+
`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.
|
|
86
|
+
|
|
87
|
+
`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.
|
|
88
|
+
|
|
89
|
+
`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units.
|
|
90
|
+
|
|
91
|
+
`,48:`fromSize and toSize must be provided as stringified numbers with the same units.
|
|
92
|
+
|
|
93
|
+
`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.
|
|
94
|
+
|
|
95
|
+
`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.
|
|
96
|
+
|
|
97
|
+
`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize.
|
|
98
|
+
|
|
99
|
+
`,52:`fontFace expects either the path to the font file(s) or a name of a local copy.
|
|
100
|
+
|
|
101
|
+
`,53:`fontFace expects localFonts to be an array.
|
|
102
|
+
|
|
103
|
+
`,54:`fontFace expects fileFormats to be an array.
|
|
104
|
+
|
|
105
|
+
`,55:`fontFace expects a name of a font-family.
|
|
106
|
+
|
|
107
|
+
`,56:`linearGradient requries at least 2 color-stops to properly render.
|
|
108
|
+
|
|
109
|
+
`,57:`radialGradient requries at least 2 color-stops to properly render.
|
|
110
|
+
|
|
111
|
+
`,58:`Please supply a filename to retinaImage() as the first argument.
|
|
112
|
+
|
|
113
|
+
`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.
|
|
114
|
+
|
|
115
|
+
`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value.
|
|
116
|
+
|
|
117
|
+
`,62:`borderRadius expects a radius value as a string or number as the second argument.
|
|
118
|
+
|
|
119
|
+
`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.
|
|
120
|
+
|
|
121
|
+
`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.
|
|
122
|
+
|
|
123
|
+
`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').
|
|
124
|
+
|
|
125
|
+
`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.
|
|
126
|
+
|
|
127
|
+
`,67:`You must provide a template to this method.
|
|
128
|
+
|
|
129
|
+
`,68:`You passed an unsupported selector state to this method.
|
|
130
|
+
|
|
131
|
+
`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.
|
|
132
|
+
|
|
133
|
+
`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.
|
|
134
|
+
|
|
135
|
+
`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.
|
|
136
|
+
|
|
137
|
+
`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12.
|
|
138
|
+
|
|
139
|
+
`,73:`Please provide a valid CSS variable.
|
|
140
|
+
|
|
141
|
+
`,74:`CSS variable not found and no default was provided.
|
|
142
|
+
|
|
143
|
+
`,75:`important requires a valid style object, got a %s instead.
|
|
144
|
+
|
|
145
|
+
`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.
|
|
146
|
+
|
|
147
|
+
`,77:`remToPx expects a value in "rem" but you provided it in "%s".
|
|
148
|
+
|
|
149
|
+
`,78:`base must be set in "px" or "%" but you set it in "%s".
|
|
150
|
+
`};function be(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var a=t[0],n=[],o;for(o=1;o<t.length;o+=1)n.push(t[o]);return n.forEach(function(s){a=a.replace(/%[a-z]/,s)}),a}var b=function(e){fe(t,e);function t(r){for(var a,n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return a=e.call(this,be.apply(void 0,[he[r]].concat(o)))||this,de(a)}return t}($(Error));function M(e){return Math.round(e*255)}function ge(e,t,r){return M(e)+","+M(t)+","+M(r)}function E(e,t,r,a){if(a===void 0&&(a=ge),t===0)return a(r,r,r);var n=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,s=o*(1-Math.abs(n%2-1)),i=0,p=0,u=0;n>=0&&n<1?(i=o,p=s):n>=1&&n<2?(i=s,p=o):n>=2&&n<3?(p=o,u=s):n>=3&&n<4?(p=s,u=o):n>=4&&n<5?(i=s,u=o):n>=5&&n<6&&(i=o,u=s);var h=r-o/2,m=i+h,f=p+h,_=u+h;return a(m,f,_)}var ne={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function ye(e){if(typeof e!="string")return e;var t=e.toLowerCase();return ne[t]?"#"+ne[t]:e}var ve=/^#[a-fA-F0-9]{6}$/,xe=/^#[a-fA-F0-9]{8}$/,Se=/^#[a-fA-F0-9]{3}$/,Te=/^#[a-fA-F0-9]{4}$/,B=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,we=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Pe=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,ke=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function P(e){if(typeof e!="string")throw new b(3);var t=ye(e);if(t.match(ve))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(xe)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(Se))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Te)){var a=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:a}}var n=B.exec(t);if(n)return{red:parseInt(""+n[1],10),green:parseInt(""+n[2],10),blue:parseInt(""+n[3],10)};var o=we.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var s=Pe.exec(t);if(s){var i=parseInt(""+s[1],10),p=parseInt(""+s[2],10)/100,u=parseInt(""+s[3],10)/100,h="rgb("+E(i,p,u)+")",m=B.exec(h);if(!m)throw new b(4,t,h);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var f=ke.exec(t.substring(0,50));if(f){var _=parseInt(""+f[1],10),pe=parseInt(""+f[2],10)/100,ue=parseInt(""+f[3],10)/100,Y="rgb("+E(_,pe,ue)+")",I=B.exec(Y);if(!I)throw new b(4,t,Y);return{red:parseInt(""+I[1],10),green:parseInt(""+I[2],10),blue:parseInt(""+I[3],10),alpha:parseFloat(""+f[4])>1?parseFloat(""+f[4])/100:parseFloat(""+f[4])}}throw new b(5)}function _e(e){var t=e.red/255,r=e.green/255,a=e.blue/255,n=Math.max(t,r,a),o=Math.min(t,r,a),s=(n+o)/2;if(n===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var i,p=n-o,u=s>.5?p/(2-n-o):p/(n+o);switch(n){case t:i=(r-a)/p+(r<a?6:0);break;case r:i=(a-t)/p+2;break;default:i=(t-r)/p+4;break}return i*=60,e.alpha!==void 0?{hue:i,saturation:u,lightness:s,alpha:e.alpha}:{hue:i,saturation:u,lightness:s}}function g(e){return _e(P(e))}var Ce=function(e){return e.length===7&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e},D=Ce;function v(e){var t=e.toString(16);return t.length===1?"0"+t:t}function N(e){return v(Math.round(e*255))}function Ee(e,t,r){return D("#"+N(e)+N(t)+N(r))}function F(e,t,r){return E(e,t,r,Ee)}function Ie(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return F(e,t,r);if(typeof e=="object"&&t===void 0&&r===void 0)return F(e.hue,e.saturation,e.lightness);throw new b(1)}function Re(e,t,r,a){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof a=="number")return a>=1?F(e,t,r):"rgba("+E(e,t,r)+","+a+")";if(typeof e=="object"&&t===void 0&&r===void 0&&a===void 0)return e.alpha>=1?F(e.hue,e.saturation,e.lightness):"rgba("+E(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new b(2)}function q(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return D("#"+v(e)+v(t)+v(r));if(typeof e=="object"&&t===void 0&&r===void 0)return D("#"+v(e.red)+v(e.green)+v(e.blue));throw new b(6)}function O(e,t,r,a){if(typeof e=="string"&&typeof t=="number"){var n=P(e);return"rgba("+n.red+","+n.green+","+n.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof a=="number")return a>=1?q(e,t,r):"rgba("+e+","+t+","+r+","+a+")";if(typeof e=="object"&&t===void 0&&r===void 0&&a===void 0)return e.alpha>=1?q(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new b(7)}var Fe=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Oe=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},je=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},He=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function y(e){if(typeof e!="object")throw new b(8);if(Oe(e))return O(e);if(Fe(e))return q(e);if(He(e))return Re(e);if(je(e))return Ie(e);throw new b(8)}function se(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):se(e,t,a)}}function c(e){return se(e,e.length,[])}function ze(e,t){if(t==="transparent")return t;var r=g(t);return y(d({},r,{hue:r.hue+parseFloat(e)}))}c(ze);function k(e,t,r){return Math.max(e,Math.min(t,r))}function Ae(e,t){if(t==="transparent")return t;var r=g(t);return y(d({},r,{lightness:k(0,1,r.lightness-parseFloat(e))}))}c(Ae);function Me(e,t){if(t==="transparent")return t;var r=g(t);return y(d({},r,{saturation:k(0,1,r.saturation-parseFloat(e))}))}c(Me);function Be(e,t){if(t==="transparent")return t;var r=g(t);return y(d({},r,{lightness:k(0,1,r.lightness+parseFloat(e))}))}c(Be);function Ne(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var a=P(t),n=d({},a,{alpha:typeof a.alpha=="number"?a.alpha:1}),o=P(r),s=d({},o,{alpha:typeof o.alpha=="number"?o.alpha:1}),i=n.alpha-s.alpha,p=parseFloat(e)*2-1,u=p*i===-1?p:p+i,h=1+p*i,m=(u/h+1)/2,f=1-m,_={red:Math.floor(n.red*m+s.red*f),green:Math.floor(n.green*m+s.green*f),blue:Math.floor(n.blue*m+s.blue*f),alpha:n.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return O(_)}var Le=c(Ne),ie=Le;function $e(e,t){if(t==="transparent")return t;var r=P(t),a=typeof r.alpha=="number"?r.alpha:1,n=d({},r,{alpha:k(0,1,(a*100+parseFloat(e)*100)/100)});return O(n)}c($e);function De(e,t){if(t==="transparent")return t;var r=g(t);return y(d({},r,{saturation:k(0,1,r.saturation+parseFloat(e))}))}c(De);function qe(e,t){return t==="transparent"?t:y(d({},g(t),{hue:parseFloat(e)}))}c(qe);function We(e,t){return t==="transparent"?t:y(d({},g(t),{lightness:parseFloat(e)}))}c(We);function Ye(e,t){return t==="transparent"?t:y(d({},g(t),{saturation:parseFloat(e)}))}c(Ye);function Ge(e,t){return t==="transparent"?t:ie(parseFloat(e),"rgb(0, 0, 0)",t)}c(Ge);function Ke(e,t){return t==="transparent"?t:ie(parseFloat(e),"rgb(255, 255, 255)",t)}c(Ke);function Ue(e,t){if(t==="transparent")return t;var r=P(t),a=typeof r.alpha=="number"?r.alpha:1,n=d({},r,{alpha:k(0,1,+(a*100-parseFloat(e)*100).toFixed(2)/100)});return O(n)}var Ze=c(Ue),Je=Ze,Qe=w.div(J,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:Je(.3,e.color.defaultText),fontSize:e.typography.size.s2})),Xe=e=>l.createElement(Qe,{...e,className:"docblock-emptyblock sb-unstyled"}),Ve=w(Z)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),et=w.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),R=w.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${H}`]:{margin:0}})),tt=()=>l.createElement(et,null,l.createElement(R,null),l.createElement(R,{style:{width:"80%"}}),l.createElement(R,{style:{width:"30%"}}),l.createElement(R,{style:{width:"80%"}})),rt=({isLoading:e,error:t,language:r,code:a,dark:n,format:o=!0,...s})=>{let{typography:i}=A();if(e)return l.createElement(tt,null);if(t)return l.createElement(Xe,null,t);let p=l.createElement(Ve,{bordered:!0,copyable:!0,format:o,language:r??"jsx",className:"docblock-source sb-unstyled",...s},a);if(typeof n>"u")return p;let u=n?z.dark:z.light;return l.createElement(ee,{theme:te({...u,fontCode:i.fonts.mono,fontBase:i.fonts.base})},p)};j.register(W,e=>{j.add(le,{title:"Code",type:Q.PANEL,paramKey:re,disabled:t=>!t?.docs?.codePanel,match:({viewMode:t})=>t==="story",render:({active:t})=>{let r=e.getChannel(),a=e.getCurrentStoryData(),n=r?.last(ae)?.[0],[o,s]=K({source:n?.source,format:n?.format??void 0}),i=V(re,{source:{code:""},theme:"dark"});G(()=>{s({source:void 0,format:void 0})},[a?.id]),X({[ae]:({source:u,format:h})=>{s({source:u,format:h})}});let p=A().base!=="light";return l.createElement(U,{active:!!t},l.createElement(at,null,l.createElement(rt,{...i.source,code:i.source?.code||o.source||i.source?.originalSource,format:o.format,dark:p})))}})});var at=w.div(()=>({height:"100%",[`> :first-child${H}`]:{margin:0,height:"100%",boxShadow:"none"}}));})();
|
|
151
|
+
}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); }
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
try{
|
|
2
|
+
(()=>{var S=__STORYBOOK_API__,{ActiveTabs:m,Consumer:p,ManagerContext:_,Provider:c,RequestResponseError:d,addons:o,combineParameters:v,controlOrMetaKey:T,controlOrMetaSymbol:h,eventMatchesShortcut:x,eventToShortcut:b,experimental_MockUniversalStore:y,experimental_UniversalStore:P,experimental_getStatusStore:O,experimental_getTestProviderStore:g,experimental_requestResponse:A,experimental_useStatusStore:k,experimental_useTestProviderStore:M,experimental_useUniversalStore:f,internal_fullStatusStore:R,internal_fullTestProviderStore:C,internal_universalStatusStore:K,internal_universalTestProviderStore:U,isMacLike:q,isShortcutTaken:B,keyToSymbol:G,merge:I,mockChannel:Y,optionOrAltSymbol:E,shortcutMatchesShortcut:H,shortcutToHumanString:L,types:j,useAddonState:w,useArgTypes:z,useArgs:D,useChannel:F,useGlobalTypes:J,useGlobals:N,useParameter:Q,useSharedState:V,useStoryPrepared:W,useStorybookApi:X,useStorybookState:Z}=__STORYBOOK_API__;o.setConfig({enableShortcuts:!1,sidebar:{collapsedRoots:["example"]}});})();
|
|
3
|
+
}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); }
|