widenarrow-ui 1.1.96 → 1.1.98
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 +8 -0
- package/lib/assets/svg/undo-300.d.ts +6 -0
- package/lib/constants.d.ts +2 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.esm.js +407 -397
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +407 -397
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/svg/undo-200.tsx +14 -0
- package/src/assets/svg/{undo.tsx → undo-300.tsx} +1 -1
- package/src/components/Box/Box.tsx +1 -1
- package/src/components/Icon/getIconFromConstant.tsx +6 -2
- package/src/components/Input/Input.module.scss +1 -0
- package/src/components/TextAreaInput/TextAreaInput.module.scss +2 -0
- package/src/constants.ts +2 -0
- package/src/styles/mixins.scss +0 -3
- /package/lib/assets/svg/{undo.d.ts → undo-200.d.ts} +0 -0
package/.storybook/main.ts
CHANGED
|
@@ -4,6 +4,7 @@ import TsconfigPathsPlugin from 'tsconfig-paths-webpack-plugin';
|
|
|
4
4
|
const config: StorybookConfig = {
|
|
5
5
|
framework: '@storybook/react-webpack5',
|
|
6
6
|
addons: [
|
|
7
|
+
'@storybook/addon-docs',
|
|
7
8
|
'@storybook/addon-essentials',
|
|
8
9
|
{
|
|
9
10
|
name: '@storybook/addon-styling-webpack',
|
|
@@ -57,6 +58,13 @@ const config: StorybookConfig = {
|
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
60
|
],
|
|
61
|
+
typescript: {
|
|
62
|
+
reactDocgen: 'react-docgen-typescript',
|
|
63
|
+
reactDocgenTypescriptOptions: {
|
|
64
|
+
shouldExtractLiteralValuesFromEnum: true,
|
|
65
|
+
shouldRemoveUndefinedFromOptional: true
|
|
66
|
+
}
|
|
67
|
+
},
|
|
60
68
|
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
|
|
61
69
|
webpackFinal: async (config) => {
|
|
62
70
|
if (config.resolve) {
|
package/lib/constants.d.ts
CHANGED
|
@@ -215,6 +215,8 @@ export declare enum IconTypes {
|
|
|
215
215
|
ZOOM_IN = "iconZoomIn",
|
|
216
216
|
ZOOM_OUT = "iconZoomOut",
|
|
217
217
|
UNDO = "iconUndo",
|
|
218
|
+
UNDO_200 = "iconUndo200",
|
|
219
|
+
UNDO_300 = "iconUndo300",
|
|
218
220
|
REDO = "iconRedo",
|
|
219
221
|
POST = "iconPost",
|
|
220
222
|
WORKSPACE_200 = "iconWorkspace200",
|
package/lib/index.d.ts
CHANGED