@rotki/ui-library 0.16.0 → 1.0.0-beta.10
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/README.md +3 -3
- package/dist/RuiNavigationDrawer-CCbOjbr3.js +7903 -0
- package/dist/__test__/options.d.ts +5 -0
- package/dist/{breakpoint-DAvEs_TA.js → breakpoint-OTAceaTK.js} +1 -1
- package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +32 -45
- package/dist/components/accordions/accordions/RuiAccordions.vue.d.ts +25 -20
- package/dist/components/alerts/RuiAlert.vue.d.ts +37 -61
- package/dist/components/buttons/button/RuiButton.vue.d.ts +52 -9
- package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +43 -9
- package/dist/components/cards/RuiCard.vue.d.ts +33 -52
- package/dist/components/cards/RuiCardHeader.vue.d.ts +22 -11
- package/dist/components/chips/RuiChip.vue.d.ts +44 -87
- package/dist/components/color-picker/RuiColorBoard.vue.d.ts +17 -14
- package/dist/components/color-picker/RuiColorDisplay.vue.d.ts +13 -10
- package/dist/components/color-picker/RuiColorHue.vue.d.ts +16 -10
- package/dist/components/color-picker/RuiColorInput.vue.d.ts +16 -10
- package/dist/components/color-picker/RuiColorPicker.vue.d.ts +23 -12
- package/dist/components/divider/RuiDivider.vue.d.ts +22 -11
- package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +42 -85
- package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +40 -85
- package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +43 -86
- package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +61 -146
- package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +172 -59
- package/dist/components/forms/select/RuiSimpleSelect.vue.d.ts +27 -44
- package/dist/components/forms/slider/RuiSlider.vue.d.ts +61 -152
- package/dist/components/forms/switch/RuiSwitch.vue.d.ts +40 -77
- package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +72 -181
- package/dist/components/forms/text-field/RuiTextField.vue.d.ts +62 -147
- package/dist/components/helpers/RuiFormTextDetail.vue.d.ts +34 -27
- package/dist/components/icons/RuiIcon.vue.d.ts +24 -27
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.es.js +25 -23
- package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +23 -12
- package/dist/components/loaders/RuiSkeletonLoader.vue.d.ts +26 -21
- package/dist/components/logos/RuiLogo.vue.d.ts +30 -43
- package/dist/components/overlays/badge/RuiBadge.vue.d.ts +46 -95
- package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +24 -31
- package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +34 -53
- package/dist/components/overlays/menu/RuiMenu.vue.d.ts +67 -142
- package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +81 -0
- package/dist/components/overlays/notification/RuiNotification.vue.d.ts +45 -0
- package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +35 -60
- package/dist/components/progress/RuiProgress.vue.d.ts +37 -68
- package/dist/components/steppers/RuiFooterStepper.vue.d.ts +30 -45
- package/dist/components/steppers/RuiStepper.vue.d.ts +36 -69
- package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +28 -19
- package/dist/components/steppers/RuiStepperIcon.vue.d.ts +28 -19
- package/dist/components/tables/RuiDataTable.vue.d.ts +253 -21
- package/dist/components/tables/RuiExpandButton.vue.d.ts +23 -20
- package/dist/components/tables/RuiTableHead.vue.d.ts +88 -21
- package/dist/components/tables/RuiTablePagination.vue.d.ts +27 -36
- package/dist/components/tabs/tab/RuiTab.vue.d.ts +63 -110
- package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +30 -36
- package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +35 -15
- package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +36 -55
- package/dist/composables/dropdown-menu.d.ts +34 -11
- package/dist/composables/index.es.js +2 -2
- package/dist/composables/popper.d.ts +2 -0
- package/dist/composables/theme.d.ts +1 -1
- package/dist/icons/icons_1.d.ts +44 -44
- package/dist/icons/icons_1.es.js +987 -987
- package/dist/icons/icons_2.d.ts +60 -60
- package/dist/icons/icons_2.es.js +1121 -1121
- package/dist/icons/icons_3.d.ts +76 -76
- package/dist/icons/icons_3.es.js +1149 -1149
- package/dist/icons/icons_4.d.ts +96 -96
- package/dist/icons/icons_4.es.js +1193 -1193
- package/dist/icons/icons_5.d.ts +132 -132
- package/dist/icons/icons_5.es.js +1267 -1267
- package/dist/icons/icons_6.d.ts +156 -0
- package/dist/icons/icons_6.es.js +1099 -475
- package/dist/icons/index.d.ts +3 -1
- package/dist/icons/index.es.js +2903 -2741
- package/dist/index-NNlkUY_M.js +161 -0
- package/dist/index.es.js +2934 -2773
- package/dist/style.css +1 -1
- package/dist/utils/helpers.d.ts +9 -0
- package/dist/utils/is-equal.d.ts +1 -0
- package/package.json +37 -38
- package/dist/RuiColorPicker.vue_vue_type_script_setup_true_lang-ByCIjyQ_.js +0 -8945
- package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +0 -71
- package/dist/components/forms/auto-complete/RuiAutoCompleteSelection.vue.d.ts +0 -30
- package/dist/index-RsNqSz2V.js +0 -177
package/dist/utils/helpers.d.ts
CHANGED
|
@@ -55,4 +55,13 @@ export declare function getNonRootAttrs(data: SetupContextAttrs, exclude?: Setup
|
|
|
55
55
|
* @returns {Record<string, any>}
|
|
56
56
|
*/
|
|
57
57
|
export declare function transformCase<T extends object>(item: T, to: 'camelCase' | 'snake_case'): Record<string, any>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @param {string} string - String to convert
|
|
61
|
+
* @return {string} - String converted to text token, mostly used to matching keyword
|
|
62
|
+
* @example
|
|
63
|
+
* getTextToken('this is a sentence'); // thisisasentence
|
|
64
|
+
*/
|
|
65
|
+
export declare function getTextToken(string: any): string;
|
|
66
|
+
export declare function transformPropsUnit(value?: string | number): string | undefined;
|
|
58
67
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isEqual(value: any, other: any): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rotki/ui-library",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-beta.10",
|
|
4
4
|
"description": "A vue design system and component library for rotki",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -68,65 +68,64 @@
|
|
|
68
68
|
"vue": ">=3.4.0"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@babel/core": "7.24.
|
|
72
|
-
"@babel/types": "7.24.
|
|
71
|
+
"@babel/core": "7.24.9",
|
|
72
|
+
"@babel/types": "7.24.9",
|
|
73
73
|
"@commitlint/cli": "19.3.0",
|
|
74
74
|
"@commitlint/config-conventional": "19.2.2",
|
|
75
75
|
"@fontsource/roboto": "5.0.13",
|
|
76
|
-
"@headlessui/vue": "1.7.22",
|
|
77
76
|
"@popperjs/core": "2.11.8",
|
|
78
77
|
"@rotki/eslint-config": "2.7.0",
|
|
79
|
-
"@storybook/addon-docs": "8.
|
|
80
|
-
"@storybook/addon-essentials": "8.
|
|
81
|
-
"@storybook/addon-interactions": "8.
|
|
82
|
-
"@storybook/addon-links": "8.
|
|
83
|
-
"@storybook/addon-themes": "8.
|
|
84
|
-
"@storybook/blocks": "8.
|
|
85
|
-
"@storybook/preview-api": "8.
|
|
86
|
-
"@storybook/test": "8.
|
|
87
|
-
"@storybook/vue3": "8.
|
|
88
|
-
"@storybook/vue3-vite": "8.
|
|
89
|
-
"@types/node": "20.
|
|
78
|
+
"@storybook/addon-docs": "8.2.4",
|
|
79
|
+
"@storybook/addon-essentials": "8.2.4",
|
|
80
|
+
"@storybook/addon-interactions": "8.2.4",
|
|
81
|
+
"@storybook/addon-links": "8.2.4",
|
|
82
|
+
"@storybook/addon-themes": "8.2.4",
|
|
83
|
+
"@storybook/blocks": "8.2.4",
|
|
84
|
+
"@storybook/preview-api": "8.2.4",
|
|
85
|
+
"@storybook/test": "8.2.4",
|
|
86
|
+
"@storybook/vue3": "8.2.4",
|
|
87
|
+
"@storybook/vue3-vite": "8.2.4",
|
|
88
|
+
"@types/node": "20.14.10",
|
|
90
89
|
"@types/tinycolor2": "1.4.6",
|
|
91
|
-
"@vitejs/plugin-vue": "5.0.
|
|
92
|
-
"@vitest/coverage-v8": "
|
|
93
|
-
"@vitest/ui": "
|
|
90
|
+
"@vitejs/plugin-vue": "5.0.5",
|
|
91
|
+
"@vitest/coverage-v8": "2.0.3",
|
|
92
|
+
"@vitest/ui": "2.0.3",
|
|
94
93
|
"@vue/test-utils": "2.4.6",
|
|
95
94
|
"@vue/tsconfig": "0.5.1",
|
|
96
|
-
"@vueuse/core": "10.
|
|
97
|
-
"@vueuse/math": "10.
|
|
98
|
-
"@vueuse/shared": "10.
|
|
95
|
+
"@vueuse/core": "10.11.0",
|
|
96
|
+
"@vueuse/math": "10.11.0",
|
|
97
|
+
"@vueuse/shared": "10.11.0",
|
|
99
98
|
"argparse": "2.0.1",
|
|
100
99
|
"autoprefixer": "10.4.19",
|
|
101
100
|
"babel-loader": "9.1.3",
|
|
102
101
|
"bumpp": "9.4.1",
|
|
103
|
-
"css-loader": "7.1.
|
|
104
|
-
"eslint": "
|
|
105
|
-
"eslint-plugin-cypress": "
|
|
102
|
+
"css-loader": "7.1.2",
|
|
103
|
+
"eslint": "9.7.0",
|
|
104
|
+
"eslint-plugin-cypress": "3.3.0",
|
|
106
105
|
"eslint-plugin-storybook": "0.8.0",
|
|
107
106
|
"fast-glob": "3.3.2",
|
|
108
|
-
"fast-xml-parser": "4.
|
|
107
|
+
"fast-xml-parser": "4.4.0",
|
|
109
108
|
"fs-extra": "11.2.0",
|
|
110
109
|
"husky": "9.0.11",
|
|
111
|
-
"jsdom": "24.
|
|
112
|
-
"lint-staged": "15.2.
|
|
113
|
-
"postcss": "8.4.
|
|
114
|
-
"remixicon": "4.
|
|
115
|
-
"sass": "1.77.
|
|
110
|
+
"jsdom": "24.1.0",
|
|
111
|
+
"lint-staged": "15.2.7",
|
|
112
|
+
"postcss": "8.4.39",
|
|
113
|
+
"remixicon": "4.3.0",
|
|
114
|
+
"sass": "1.77.8",
|
|
116
115
|
"scule": "1.3.0",
|
|
117
|
-
"storybook": "8.
|
|
118
|
-
"tailwindcss": "3.4.
|
|
116
|
+
"storybook": "8.2.4",
|
|
117
|
+
"tailwindcss": "3.4.5",
|
|
119
118
|
"tinycolor2": "1.6.0",
|
|
120
119
|
"ts-node": "10.9.2",
|
|
121
120
|
"tsc-alias": "1.8.10",
|
|
122
121
|
"typescript": "5.4.5",
|
|
123
|
-
"unplugin-auto-import": "0.
|
|
124
|
-
"vite": "5.
|
|
125
|
-
"vitest": "
|
|
126
|
-
"vue": "3.4.
|
|
122
|
+
"unplugin-auto-import": "0.18.0",
|
|
123
|
+
"vite": "5.3.4",
|
|
124
|
+
"vitest": "2.0.3",
|
|
125
|
+
"vue": "3.4.31",
|
|
127
126
|
"vue-loader": "17.4.2",
|
|
128
|
-
"vue-router": "4.
|
|
129
|
-
"vue-tsc": "
|
|
127
|
+
"vue-router": "4.4.0",
|
|
128
|
+
"vue-tsc": "2.0.26"
|
|
130
129
|
},
|
|
131
130
|
"engines": {
|
|
132
131
|
"pnpm": ">=9 <10"
|