@dynamic-framework/ui-react 1.36.0 → 1.36.2

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/jest/setup.js CHANGED
@@ -1,5 +1,7 @@
1
1
  jest.mock('react-content-loader', () => jest.fn());
2
2
 
3
+ jest.mock('react-responsive-pagination', () => jest.fn());
4
+
3
5
  jest.mock('@react-input/mask', () => ({
4
6
  InputMask: jest.fn(),
5
7
  }));
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sideEffects": [
4
4
  "*.css"
5
5
  ],
6
- "version": "1.36.0",
6
+ "version": "1.36.2",
7
7
  "description": "React Dynamic Framework",
8
8
  "license": "https://github.com/dynamic-framework/dynamic-ui/blob/master/libraries/dynamic-ui-react/LICENSE.md",
9
9
  "repository": {
@@ -42,6 +42,7 @@
42
42
  "scripts": {
43
43
  "test": "jest",
44
44
  "test:watch": "jest --watch",
45
+ "test:coverage": "jest --coverage",
45
46
  "test:storybook": "test-storybook",
46
47
  "build": "npm run clean && npm run build:react && npm run build:scss && npm run cp",
47
48
  "build:react": "tsc -p ./tsconfig.build.json && rollup -c rollup.config.mjs",
@@ -122,6 +123,7 @@
122
123
  "@storybook/theming": "~8.2.9",
123
124
  "@testing-library/jest-dom": "~6.1.4",
124
125
  "@testing-library/react": "~14.0.0",
126
+ "@testing-library/user-event": "^14.6.1",
125
127
  "@types/google-libphonenumber": "^7.4.30",
126
128
  "@types/jest": "~29.5.12",
127
129
  "@types/node": "~18.15.3",
@@ -133,7 +135,7 @@
133
135
  "axe-playwright": "~1.2.3",
134
136
  "babel-jest": "^29.7.0",
135
137
  "babel-loader": "~9.1.3",
136
- "bootstrap-icons": "~1.11.3",
138
+ "bootstrap-icons": "~1.13.1",
137
139
  "conventional-changelog-conventionalcommits": "~6.1.0",
138
140
  "eslint": "~8.52.0",
139
141
  "eslint-config-airbnb": "~19.0.4",
@@ -80,14 +80,14 @@ $input-group-addon-border-color: transparent !default;
80
80
 
81
81
  // custom
82
82
  $input-group-sm-icon-size: $spacer-4 !default;
83
- $input-group-lg-icon-size: $spacer-7 !default;
83
+ $input-group-lg-icon-size: $spacer-6 !default;
84
84
  $form-text-padding-y: 0 !default;
85
85
  $form-text-padding-x: 0 !default;
86
86
  // end custom
87
87
 
88
88
  // scss-docs-start form-select-variables
89
89
  $form-select-disabled-color: $input-disabled-color !default;
90
- $form-select-bg-size: 16px !default; // In pixels because image dimensions
90
+ $form-select-bg-size: 20px !default; // In pixels because image dimensions
91
91
  $form-select-bg-opacity: 0 !default;
92
92
  $form-select-indicator-color: var(--#{$prefix}gray-500) !default;
93
93
  $form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$gray-500}' stroke-linecap='round' stroke-linejoin='round' stroke-width='1' d='m2 5 6 6 6-6'/></svg>") !default;
@@ -9,3 +9,27 @@ $zindex-offcanvas: 1055 !default;
9
9
  $zindex-modal-backdrop: 1050 !default;
10
10
  $zindex-modal: 1055 !default;
11
11
  // scss-docs-end zindex-stack
12
+
13
+ $zindex-levels: (
14
+ n1: -1,
15
+ 0: 0,
16
+ 1: 1,
17
+ 2: 2,
18
+ 3: 3,
19
+ 4: 4,
20
+ 5: 5,
21
+ 6: 6,
22
+ 7: 7,
23
+ 8: 8,
24
+ 9: 9,
25
+ 10: 10,
26
+ 20: 20,
27
+ 30: 30,
28
+ 40: 40,
29
+ 50: 50,
30
+ 60: 60,
31
+ 70: 70,
32
+ 80: 80,
33
+ 90: 90,
34
+ 100: 100
35
+ ) !default;
@@ -1,7 +1,7 @@
1
1
  .d-icon {
2
2
  --#{$prefix}icon-color: var(--#{$prefix}icon-component-color, inherit);
3
3
  --#{$prefix}icon-bg-color: var(--#{$prefix}icon-component-bg-color, inherit);
4
- --#{$prefix}icon-size: var(--#{$prefix}icon-component-size, var(--#{$prefix}ref-spacer-6));
4
+ --#{$prefix}icon-size: var(--#{$prefix}icon-component-size, var(--#{$prefix}ref-spacer-5));
5
5
  --#{$prefix}icon-padding: var(--#{$prefix}icon-component-padding, 0);
6
6
  --#{$prefix}icon-loading-duration: var(--#{$prefix}icon-component-loading-duration, 1.8);
7
7
 
@@ -13,7 +13,7 @@
13
13
  --#{$prefix}select-option-is-checkbox-font-size: var(--#{$prefix}body-font-size);
14
14
  --#{$prefix}select-option-is-checkbox-font-weight: var(--#{$prefix}fw-normal);
15
15
  --#{$prefix}select-option-is-checkbox-color: var(--#{$prefix}gray-900);
16
- --#{$prefix}select-option-has-icon-icon-size: var(--#{$prefix}ref-spacer-4);
16
+ --#{$prefix}select-option-has-icon-icon-size: var(--#{$prefix}ref-spacer-5);
17
17
  --#{$prefix}select-multi-value-padding: 0 var(--#{$prefix}ref-spacer-1) 0 var(--#{$prefix}select-gap);
18
18
  --#{$prefix}select-multi-value-margin-right: var(--#{$prefix}select-gap);
19
19
  --#{$prefix}select-multi-value-background: var(--#{$prefix}secondary-100);
@@ -26,8 +26,8 @@
26
26
  --#{$prefix}select-indicator-separator-margin: var(--#{$prefix}ref-spacer-0) var(--#{$prefix}ref-spacer-1);
27
27
  --#{$prefix}select-indicator-separator-color: var(--#{$prefix}transparent);
28
28
 
29
- --#{$prefix}select-indicator-width: var(--#{$prefix}ref-spacer-4);
30
- --#{$prefix}select-indicator-height: var(--#{$prefix}ref-spacer-4);
29
+ --#{$prefix}select-indicator-width: var(--#{$prefix}ref-spacer-5);
30
+ --#{$prefix}select-indicator-height: var(--#{$prefix}ref-spacer-5);
31
31
 
32
32
  // focus
33
33
  &:focus-within {