freemium-ui 2.0.91 → 2.1.0-alpha.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/lib/Accordion-Ccv-p2G6.js +134 -0
- package/lib/Accordion.d.ts +56 -0
- package/lib/Accordion.js +7 -0
- package/lib/Alert-BtEbkVK1.js +52 -0
- package/lib/Alert.d.ts +66 -0
- package/lib/Alert.js +6 -0
- package/lib/AutoComplete-DF33_uur.js +608 -0
- package/lib/AutoComplete.d.ts +105 -0
- package/lib/AutoComplete.js +14 -0
- package/lib/BoxedRadio-D5Kiintm.js +75 -0
- package/lib/BoxedRadio.d.ts +61 -0
- package/lib/BoxedRadio.js +10 -0
- package/lib/Button-Bd1O8_k7.js +34 -0
- package/lib/Button.d.ts +34 -0
- package/lib/Button.js +2 -0
- package/lib/ButtonDropdown-BZvCwUDe.js +37 -0
- package/lib/ButtonDropdown.d.ts +82 -0
- package/lib/ButtonDropdown.js +11 -0
- package/lib/Calendar-C0xW_pPO.js +32 -0
- package/lib/Calendar.d.ts +25 -0
- package/lib/Calendar.js +2 -0
- package/lib/Checkbox-By1CgFUJ.js +66 -0
- package/lib/Checkbox.d.ts +28 -0
- package/lib/Checkbox.js +7 -0
- package/lib/ChevronUp-BWiG3XYd.js +7 -0
- package/lib/Combination-AmN1Cqrf.js +210 -0
- package/lib/Confirmation-49GhlyzQ.js +66 -0
- package/lib/Confirmation.d.ts +72 -0
- package/lib/Confirmation.js +8 -0
- package/lib/Cross-CIeKwtq6.js +7 -0
- package/lib/CustomizeColumns-BSF8e_we.js +865 -0
- package/lib/Drawer-CnmXL5_B.js +33 -0
- package/lib/Drawer.d.ts +50 -0
- package/lib/Drawer.js +8 -0
- package/lib/Dropdown-D59u6zOt.js +89 -0
- package/lib/Dropdown.d.ts +162 -0
- package/lib/Dropdown.js +15 -0
- package/lib/ErrorText-Uvye7uop.js +8 -0
- package/lib/Info-BsILbpCG.js +9 -0
- package/lib/Input.d.ts +66 -0
- package/lib/Input.js +5 -0
- package/lib/Loader-b8lHCp4N.js +13 -0
- package/lib/Loader.d.ts +21 -0
- package/lib/Loader.js +3 -0
- package/lib/Menu-DoE00Mg-.js +19 -0
- package/lib/Menu.d.ts +80 -0
- package/lib/Menu.js +11 -0
- package/lib/Modal-D5RJHnbn.js +51 -0
- package/lib/Modal.d.ts +51 -0
- package/lib/Modal.js +7 -0
- package/lib/MultiSelectDropdown-DblSkVpv.js +84 -0
- package/lib/MultiSelectDropdown.d.ts +116 -0
- package/lib/MultiSelectDropdown.js +14 -0
- package/lib/Pickers.d.ts +94 -0
- package/lib/Pickers.js +16 -0
- package/lib/Popover-BU73-g73.js +90 -0
- package/lib/Popover.d.ts +94 -0
- package/lib/Popover.js +8 -0
- package/lib/QuillEditor.d.ts +29 -0
- package/lib/QuillEditor.js +3369 -0
- package/lib/Radio.d.ts +69 -0
- package/lib/Radio.js +10 -0
- package/lib/RadioGroup-DM_Y48_b.js +42 -0
- package/lib/Reorder-DUSHsq7i.js +697 -0
- package/lib/Reorder.d.ts +36 -0
- package/lib/Reorder.js +5 -0
- package/lib/SortDropdown-B0SSCJX6.js +17 -0
- package/lib/SortDropdown.d.ts +47 -0
- package/lib/SortDropdown.js +10 -0
- package/lib/Table-cidceyn5.js +117 -0
- package/lib/Table.d.ts +95 -0
- package/lib/Table.js +18 -0
- package/lib/Tabs-j1c7ybY-.js +50 -0
- package/lib/Tabs.d.ts +68 -0
- package/lib/Tabs.js +6 -0
- package/lib/Tag-Cu75ReQP.js +49 -0
- package/lib/Tag.d.ts +50 -0
- package/lib/Tag.js +4 -0
- package/lib/TextArea--fiwZ_QM.js +98 -0
- package/lib/ThemeProvider-bWL8hyYA.js +7 -0
- package/lib/ThemeProvider.d.ts +158 -0
- package/lib/ThemeProvider.js +9 -0
- package/lib/TickIcon-BJqSAG4_.js +7 -0
- package/lib/TimePicker-7Uqb3xJn.js +6598 -0
- package/lib/Toast.d.ts +61 -0
- package/lib/Toast.js +10 -0
- package/lib/ToastProvider-CMk1PSzB.js +264 -0
- package/lib/Toggle-BGV7Nc6t.js +59 -0
- package/lib/Toggle.d.ts +35 -0
- package/lib/Toggle.js +6 -0
- package/lib/Tooltip-DU_ATFRB.js +127 -0
- package/lib/Tooltip.d.ts +53 -0
- package/lib/Tooltip.js +8 -0
- package/lib/Typography-BcAppjDF.js +11 -0
- package/lib/Typography.d.ts +20 -0
- package/lib/Typography.js +2 -0
- package/lib/WorkspaceTable-BV5zccyt.js +100 -0
- package/lib/WorkspaceTable.d.ts +85 -0
- package/lib/WorkspaceTable.js +18 -0
- package/lib/_commonjsHelpers-fGXyuM93.js +4 -0
- package/lib/allPaths-DKtiSqHL.js +19 -0
- package/lib/allPathsLoader-Drb6xO2O.js +5 -0
- package/lib/index-B9EcTy5B.js +46 -0
- package/lib/index-BPxkexqj.js +60 -0
- package/lib/index-BROhcSiX.js +8 -0
- package/lib/index-BT1o947S.js +8 -0
- package/lib/index-BY9lf-do.js +2 -0
- package/lib/index-BdTXfGkV.js +24 -0
- package/lib/index-BnDw8kbT.js +135 -0
- package/lib/index-BrF1HKA1.js +338 -0
- package/lib/index-BxNZ3C71.js +4 -0
- package/lib/index-ByHJlnsx.js +26 -0
- package/lib/index-COoRg_pp.js +55 -0
- package/lib/index-CeIB4COQ.js +10 -0
- package/lib/index-Cjkk7z9c.js +19 -0
- package/lib/index-D6iTv28r.js +607 -0
- package/lib/index-D8E8s0tV.js +60 -0
- package/lib/index-DtILdK5l.js +48 -0
- package/lib/index-DtzckyT3.js +4 -0
- package/lib/index-Dy5ztCxm.js +27 -0
- package/lib/index-KMLwCm58.js +607 -0
- package/lib/index-_WvIFKTM.js +6 -0
- package/lib/index.d.ts +1826 -1842
- package/lib/index.js +54 -17049
- package/lib/isTypedArray-DN-UDJh5.js +89 -0
- package/lib/keyframes-PnzFl0I5.js +20 -0
- package/lib/package.json +133 -3
- package/lib/rollup.config.d.ts.map +1 -0
- package/lib/splitPathsBySizeLoader-Cm_vHo5k.js +23 -0
- package/lib/styled-components.browser.esm-Bq2p-e5F.js +479 -0
- package/lib/styles-BbwNLGy3.js +177 -0
- package/lib/styles-BlCCKAZq.js +1192 -0
- package/lib/use-toasts-GqvPVmSy.js +5 -0
- package/package.json +150 -12
- package/buildspec.yml +0 -22
- package/freemium-ui-2.0.91.tgz +0 -0
- package/lib/index.cjs.js +0 -17225
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import t from"react";import{a as o}from"./ToastProvider-CMk1PSzB.js"
|
|
2
|
+
;var a=function(){
|
|
3
|
+
var a,r=null!==(a=t.useContext(o))&&void 0!==a?a:{},s=r.toasts,n=r.addToast,u=r.updateToasts
|
|
4
|
+
;return[s,n,t.useCallback((function(){u((function(){return[]}))}),[u])]}
|
|
5
|
+
;export{a as u};
|
package/package.json
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "freemium-ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.1.0-alpha.1",
|
|
4
4
|
"description": "React Ui Components for Freemium Apps",
|
|
5
|
-
"main": "
|
|
6
|
-
"
|
|
7
|
-
"
|
|
5
|
+
"main": "./index.js",
|
|
6
|
+
"types": "./index.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"files": [
|
|
9
|
+
"lib",
|
|
10
|
+
"index.d.ts",
|
|
11
|
+
"index.js"
|
|
12
|
+
],
|
|
8
13
|
"dependencies": {
|
|
9
14
|
"@blueprintjs/datetime2": "^2.3.4",
|
|
10
15
|
"@dnd-kit/core": "^6.1.0",
|
|
@@ -41,7 +46,6 @@
|
|
|
41
46
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
42
47
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
43
48
|
"@rollup/plugin-terser": "^0.4.4",
|
|
44
|
-
"@rollup/plugin-typescript": "^11.1.6",
|
|
45
49
|
"@storybook/addon-essentials": "^8.2.9",
|
|
46
50
|
"@storybook/addon-interactions": "^8.2.9",
|
|
47
51
|
"@storybook/addon-links": "^8.2.9",
|
|
@@ -51,8 +55,8 @@
|
|
|
51
55
|
"@storybook/preview-api": "^8.2.9",
|
|
52
56
|
"@storybook/react": "^8.2.9",
|
|
53
57
|
"@storybook/react-webpack5": "^8.2.9",
|
|
54
|
-
"@types/axios": "^0.14.0",
|
|
55
58
|
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
|
|
59
|
+
"@types/axios": "^0.14.0",
|
|
56
60
|
"@types/lodash.debounce": "^4.0.9",
|
|
57
61
|
"@types/node": "^16.18.64",
|
|
58
62
|
"@types/react": "^18.2.73",
|
|
@@ -61,16 +65,16 @@
|
|
|
61
65
|
"@types/rollup-plugin-generate-package-json": "^3.2.9",
|
|
62
66
|
"@types/rollup-plugin-peer-deps-external": "^2.2.5",
|
|
63
67
|
"@types/styled-components": "^5.1.34",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
|
69
|
+
"@typescript-eslint/parser": "^5.48.2",
|
|
64
70
|
"babel-plugin-named-exports-order": "^0.0.2",
|
|
65
|
-
"eslint-plugin-storybook": "^0.8.0",
|
|
66
71
|
"eslint": "^8.32.0",
|
|
67
72
|
"eslint-config-prettier": "^6.15.0",
|
|
68
73
|
"eslint-plugin-prettier": "^4.2.1",
|
|
69
74
|
"eslint-plugin-react": "^7.32.1",
|
|
70
75
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
76
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
71
77
|
"eslint-plugin-unused-imports": "^2.0.0",
|
|
72
|
-
"@typescript-eslint/eslint-plugin": "^5.48.2",
|
|
73
|
-
"@typescript-eslint/parser": "^5.48.2",
|
|
74
78
|
"husky": "^9.0.11",
|
|
75
79
|
"postcss": "^8.4.38",
|
|
76
80
|
"prettier": "^3.2.5",
|
|
@@ -79,19 +83,23 @@
|
|
|
79
83
|
"rollup-plugin-dts": "^6.1.0",
|
|
80
84
|
"rollup-plugin-generate-package-json": "^3.2.0",
|
|
81
85
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
86
|
+
"rollup-plugin-typescript2": "^0.36.0",
|
|
82
87
|
"storybook": "^8.2.9",
|
|
88
|
+
"ts-node": "^10.9.2",
|
|
83
89
|
"webpack": "^5.91.0"
|
|
84
90
|
},
|
|
85
91
|
"scripts": {
|
|
86
92
|
"lint": "eslint . --fix --quiet",
|
|
93
|
+
"generate:exports": "ts-node --esm generate-exports.ts",
|
|
87
94
|
"version:beta": "npm version prerelease --preid=beta",
|
|
88
95
|
"publish:beta": "npm publish --tag beta",
|
|
89
96
|
"prepublishOnly": "npm run build",
|
|
90
97
|
"start": "react-scripts start",
|
|
91
98
|
"build-react-app": "react-scripts build",
|
|
92
99
|
"build": "npm run rollup && npm run post:build",
|
|
93
|
-
"post:build": "node ./scripts/frankBuild.
|
|
94
|
-
"
|
|
100
|
+
"post:build": "node ./scripts/frankBuild.cjs",
|
|
101
|
+
"build:files": "rollup -c rollup.config.ts --configPlugin rollup-plugin-typescript2",
|
|
102
|
+
"rollup": "rm -rf lib && npm run build:files && npm run generate:exports",
|
|
95
103
|
"test": "react-scripts test",
|
|
96
104
|
"eject": "react-scripts eject",
|
|
97
105
|
"check": "prettier --check .",
|
|
@@ -137,5 +145,135 @@
|
|
|
137
145
|
"last 1 firefox version",
|
|
138
146
|
"last 1 safari version"
|
|
139
147
|
]
|
|
148
|
+
},
|
|
149
|
+
"exports": {
|
|
150
|
+
".": {
|
|
151
|
+
"import": "./index.js",
|
|
152
|
+
"types": "./index.d.ts"
|
|
153
|
+
},
|
|
154
|
+
"./Accordion": {
|
|
155
|
+
"import": "./Accordion.js",
|
|
156
|
+
"types": "./Accordion.d.ts"
|
|
157
|
+
},
|
|
158
|
+
"./Alert": {
|
|
159
|
+
"import": "./Alert.js",
|
|
160
|
+
"types": "./Alert.d.ts"
|
|
161
|
+
},
|
|
162
|
+
"./AutoComplete": {
|
|
163
|
+
"import": "./AutoComplete.js",
|
|
164
|
+
"types": "./AutoComplete.d.ts"
|
|
165
|
+
},
|
|
166
|
+
"./BoxedRadio": {
|
|
167
|
+
"import": "./BoxedRadio.js",
|
|
168
|
+
"types": "./BoxedRadio.d.ts"
|
|
169
|
+
},
|
|
170
|
+
"./Button": {
|
|
171
|
+
"import": "./Button.js",
|
|
172
|
+
"types": "./Button.d.ts"
|
|
173
|
+
},
|
|
174
|
+
"./ButtonDropdown": {
|
|
175
|
+
"import": "./ButtonDropdown.js",
|
|
176
|
+
"types": "./ButtonDropdown.d.ts"
|
|
177
|
+
},
|
|
178
|
+
"./Calendar": {
|
|
179
|
+
"import": "./Calendar.js",
|
|
180
|
+
"types": "./Calendar.d.ts"
|
|
181
|
+
},
|
|
182
|
+
"./Checkbox": {
|
|
183
|
+
"import": "./Checkbox.js",
|
|
184
|
+
"types": "./Checkbox.d.ts"
|
|
185
|
+
},
|
|
186
|
+
"./Confirmation": {
|
|
187
|
+
"import": "./Confirmation.js",
|
|
188
|
+
"types": "./Confirmation.d.ts"
|
|
189
|
+
},
|
|
190
|
+
"./Drawer": {
|
|
191
|
+
"import": "./Drawer.js",
|
|
192
|
+
"types": "./Drawer.d.ts"
|
|
193
|
+
},
|
|
194
|
+
"./Dropdown": {
|
|
195
|
+
"import": "./Dropdown.js",
|
|
196
|
+
"types": "./Dropdown.d.ts"
|
|
197
|
+
},
|
|
198
|
+
"./Input": {
|
|
199
|
+
"import": "./Input.js",
|
|
200
|
+
"types": "./Input.d.ts"
|
|
201
|
+
},
|
|
202
|
+
"./Loader": {
|
|
203
|
+
"import": "./Loader.js",
|
|
204
|
+
"types": "./Loader.d.ts"
|
|
205
|
+
},
|
|
206
|
+
"./Menu": {
|
|
207
|
+
"import": "./Menu.js",
|
|
208
|
+
"types": "./Menu.d.ts"
|
|
209
|
+
},
|
|
210
|
+
"./Modal": {
|
|
211
|
+
"import": "./Modal.js",
|
|
212
|
+
"types": "./Modal.d.ts"
|
|
213
|
+
},
|
|
214
|
+
"./MultiSelectDropdown": {
|
|
215
|
+
"import": "./MultiSelectDropdown.js",
|
|
216
|
+
"types": "./MultiSelectDropdown.d.ts"
|
|
217
|
+
},
|
|
218
|
+
"./Pickers": {
|
|
219
|
+
"import": "./Pickers.js",
|
|
220
|
+
"types": "./Pickers.d.ts"
|
|
221
|
+
},
|
|
222
|
+
"./Popover": {
|
|
223
|
+
"import": "./Popover.js",
|
|
224
|
+
"types": "./Popover.d.ts"
|
|
225
|
+
},
|
|
226
|
+
"./QuillEditor": {
|
|
227
|
+
"import": "./QuillEditor.js",
|
|
228
|
+
"types": "./QuillEditor.d.ts"
|
|
229
|
+
},
|
|
230
|
+
"./Radio": {
|
|
231
|
+
"import": "./Radio.js",
|
|
232
|
+
"types": "./Radio.d.ts"
|
|
233
|
+
},
|
|
234
|
+
"./Reorder": {
|
|
235
|
+
"import": "./Reorder.js",
|
|
236
|
+
"types": "./Reorder.d.ts"
|
|
237
|
+
},
|
|
238
|
+
"./SortDropdown": {
|
|
239
|
+
"import": "./SortDropdown.js",
|
|
240
|
+
"types": "./SortDropdown.d.ts"
|
|
241
|
+
},
|
|
242
|
+
"./Table": {
|
|
243
|
+
"import": "./Table.js",
|
|
244
|
+
"types": "./Table.d.ts"
|
|
245
|
+
},
|
|
246
|
+
"./Tabs": {
|
|
247
|
+
"import": "./Tabs.js",
|
|
248
|
+
"types": "./Tabs.d.ts"
|
|
249
|
+
},
|
|
250
|
+
"./Tag": {
|
|
251
|
+
"import": "./Tag.js",
|
|
252
|
+
"types": "./Tag.d.ts"
|
|
253
|
+
},
|
|
254
|
+
"./ThemeProvider": {
|
|
255
|
+
"import": "./ThemeProvider.js",
|
|
256
|
+
"types": "./ThemeProvider.d.ts"
|
|
257
|
+
},
|
|
258
|
+
"./Toast": {
|
|
259
|
+
"import": "./Toast.js",
|
|
260
|
+
"types": "./Toast.d.ts"
|
|
261
|
+
},
|
|
262
|
+
"./Toggle": {
|
|
263
|
+
"import": "./Toggle.js",
|
|
264
|
+
"types": "./Toggle.d.ts"
|
|
265
|
+
},
|
|
266
|
+
"./Tooltip": {
|
|
267
|
+
"import": "./Tooltip.js",
|
|
268
|
+
"types": "./Tooltip.d.ts"
|
|
269
|
+
},
|
|
270
|
+
"./Typography": {
|
|
271
|
+
"import": "./Typography.js",
|
|
272
|
+
"types": "./Typography.d.ts"
|
|
273
|
+
},
|
|
274
|
+
"./WorkspaceTable": {
|
|
275
|
+
"import": "./WorkspaceTable.js",
|
|
276
|
+
"types": "./WorkspaceTable.d.ts"
|
|
277
|
+
}
|
|
140
278
|
}
|
|
141
|
-
}
|
|
279
|
+
}
|
package/buildspec.yml
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
version: 0.2
|
|
2
|
-
|
|
3
|
-
phases:
|
|
4
|
-
install:
|
|
5
|
-
runtime-versions:
|
|
6
|
-
nodejs: 18
|
|
7
|
-
pre_build:
|
|
8
|
-
commands:
|
|
9
|
-
#- cd freemium-ui
|
|
10
|
-
- echo Installing source NPM dependencies...
|
|
11
|
-
- npm install
|
|
12
|
-
build:
|
|
13
|
-
commands:
|
|
14
|
-
- echo Build started on 'date'
|
|
15
|
-
- npm run build-storybook
|
|
16
|
-
artifacts:
|
|
17
|
-
files:
|
|
18
|
-
- '**/*'
|
|
19
|
-
#- "my-app/build/**/*"
|
|
20
|
-
#base-directory: 'freemium-ui/build'
|
|
21
|
-
base-directory: 'storybook-static'
|
|
22
|
-
#discard-paths: yes
|
package/freemium-ui-2.0.91.tgz
DELETED
|
Binary file
|