@appquality/unguess-design-system 3.0.10-alpha → 3.0.12-alpha

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/.babelrc.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "presets": ["@babel/env"]
3
+ }
package/build/index.js CHANGED
@@ -37,7 +37,6 @@ var formik = require('formik');
37
37
  var reactPagination = require('@zendeskgarden/react-pagination');
38
38
  var SlickSlider = require('react-slick');
39
39
  var reactTables = require('@zendeskgarden/react-tables');
40
- var reactSpring = require('react-spring');
41
40
  var reactTooltips = require('@zendeskgarden/react-tooltips');
42
41
 
43
42
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -5156,7 +5155,7 @@ const Row = (props) => jsxRuntime.jsx(UgRow, Object.assign({}, props));
5156
5155
  const Cell = (props) => jsxRuntime.jsx(UgCell, Object.assign({}, props));
5157
5156
  const Caption = (props) => (jsxRuntime.jsx(reactTables.Caption, Object.assign({}, props)));
5158
5157
 
5159
- const StyledAnimatedToggle = styled__default["default"](reactSpring.animated.div) `
5158
+ const StyledAnimatedToggle = styled__default["default"](web.animated.div) `
5160
5159
  display: inline-block;
5161
5160
  float: right;
5162
5161
  `;
@@ -5193,7 +5192,7 @@ const UgGroupRow = styled__default["default"](reactTables.GroupRow) `
5193
5192
  `;
5194
5193
  const GroupRow = (props) => jsxRuntime.jsx(UgGroupRow, Object.assign({}, props));
5195
5194
  const GroupRowComponent = (props) => {
5196
- const toggleIconAnimation = reactSpring.useSpring({
5195
+ const toggleIconAnimation = web.useSpring({
5197
5196
  config: { duration: 120 },
5198
5197
  transform: props.group.items.length > 0
5199
5198
  ? props.open
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonArgs } from "./_types";
3
2
  export declare const Default: {
4
3
  decorators?: import("@storybook/types").DecoratorFunction<import("@storybook/react/dist/types-0a347bb9").R, {
@@ -76,7 +75,7 @@ export declare const Default: {
76
75
  results?: number | undefined;
77
76
  security?: string | undefined;
78
77
  unselectable?: "on" | "off" | undefined;
79
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
78
+ inputMode?: "decimal" | "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | undefined;
80
79
  is?: string | undefined;
81
80
  'aria-activedescendant'?: string | undefined;
82
81
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
@@ -380,7 +379,7 @@ export declare const Basic: {
380
379
  results?: number | undefined;
381
380
  security?: string | undefined;
382
381
  unselectable?: "on" | "off" | undefined;
383
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
382
+ inputMode?: "decimal" | "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | undefined;
384
383
  is?: string | undefined;
385
384
  'aria-activedescendant'?: string | undefined;
386
385
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
@@ -684,7 +683,7 @@ export declare const Primary: {
684
683
  results?: number | undefined;
685
684
  security?: string | undefined;
686
685
  unselectable?: "on" | "off" | undefined;
687
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
686
+ inputMode?: "decimal" | "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | undefined;
688
687
  is?: string | undefined;
689
688
  'aria-activedescendant'?: string | undefined;
690
689
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
@@ -988,7 +987,7 @@ export declare const WithIcon: {
988
987
  results?: number | undefined;
989
988
  security?: string | undefined;
990
989
  unselectable?: "on" | "off" | undefined;
991
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
990
+ inputMode?: "decimal" | "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | undefined;
992
991
  is?: string | undefined;
993
992
  'aria-activedescendant'?: string | undefined;
994
993
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DropdownArgs, SelectArgs } from "./_types";
3
2
  import { MenuArgs } from "../menu/_types";
4
3
  interface IItem {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { EditorArgs } from "./_types";
3
2
  interface EditorStoryArgs extends EditorArgs {
4
3
  children?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TooltipArgs } from "./_types";
3
2
  export declare const Default: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, TooltipArgs>;
4
3
  declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appquality/unguess-design-system",
3
- "version": "3.0.10-alpha",
3
+ "version": "3.0.12-alpha",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -34,7 +34,6 @@
34
34
  "@nivo/sunburst": "^0.80.0",
35
35
  "@nivo/tooltip": "^0.80.0",
36
36
  "@nivo/waffle": "^0.80.0",
37
- "react-spring": "^9.6.1",
38
37
  "@tiptap/extension-bubble-menu": "^2.0.0-beta.61",
39
38
  "@tiptap/extension-character-count": "^2.0.0-beta.31",
40
39
  "@tiptap/extension-placeholder": "^2.0.0-beta.53",
@@ -64,9 +63,11 @@
64
63
  "ua-parser-js": "^1.0.2"
65
64
  },
66
65
  "devDependencies": {
66
+ "@babel/core": "^7.21.8",
67
67
  "@babel/preset-env": "^7.21.5",
68
68
  "@babel/preset-react": "^7.18.6",
69
69
  "@babel/preset-typescript": "^7.21.5",
70
+ "@rollup/plugin-babel": "^6.0.3",
70
71
  "@rollup/plugin-image": "^3.0.2",
71
72
  "@storybook/addon-essentials": "^7.0.9",
72
73
  "@storybook/addon-interactions": "^7.0.9",