@itcase/ui 1.1.4 → 1.1.6

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.
@@ -1,46 +1,4 @@
1
1
  .title {}
2
- .title {
3
- &_size_h1 {
4
- @mixin h1;
5
- padding: 0;
6
- margin: 0;
7
- }
8
- }
9
- .title {
10
- &_size_h2 {
11
- @mixin h2;
12
- padding: 0;
13
- margin: 0;
14
- }
15
- }
16
- .title {
17
- &_size_h3 {
18
- @mixin h3;
19
- padding: 0;
20
- margin: 0;
21
- }
22
- }
23
- .title {
24
- &_size_h4 {
25
- @mixin h4;
26
- padding: 0;
27
- margin: 0;
28
- }
29
- }
30
- .title {
31
- &_size_h5 {
32
- @mixin h5;
33
- padding: 0;
34
- margin: 0;
35
- }
36
- }
37
- .title {
38
- &_size_h6 {
39
- @mixin h6;
40
- padding: 0;
41
- margin: 0;
42
- }
43
- }
44
2
  .title.title {
45
3
  &_mode {
46
4
  &_skeleton {
@@ -65,39 +23,20 @@
65
23
  background-position: -200%;
66
24
  }
67
25
  }
68
- .title {
69
- &&_type {
70
- &_accent {
71
- color: var(--color-accent-text-secondary);
26
+ .title_size {
27
+ @each $size in h1, h2, h3, h4, h5, h6 {
28
+ &_$(size) {
29
+ padding: 0;
30
+ margin: 0;
31
+ @mixin $(size);
72
32
  }
73
33
  }
74
34
  }
75
35
  .title {
76
36
  &&_type {
77
- &_primary {
78
- color: var(--color-primary-text-secondary);
79
- }
80
- }
81
- }
82
- .title {
83
- &&_type {
84
- &_secondary {
85
- color: var(--color-secondary-text-secondary);
86
- }
87
- }
88
- }
89
- .title {
90
- &&_type {
91
- &_tertiary {
92
- color: var(--color-tertiary-text-tertiary);
93
- }
94
- }
95
- }
96
- .title {
97
- &.text-style {
98
- &_italic {
99
- ^^&__wrapper {
100
- font-style: italic;
37
+ @each $type in accent, primary, secondary, tertiary, surface, success, error {
38
+ &_$(type) {
39
+ color: var(--color-$(type)-text-$(type));
101
40
  }
102
41
  }
103
42
  }
@@ -28,10 +28,10 @@ var styleAttributes = [
28
28
  /**
29
29
  * Grid
30
30
  */
31
- 'gridTemplateColumns', 'gridArea', 'gridAutoColumns', 'gridAutoFlow', 'gridAutoRows', 'gridTemplate', 'gridTemplateAreas', 'gridTemplateRows', 'gridColumnGap', 'gridRowGap',
31
+ 'gridTemplateColumns', 'gridArea', 'gridAutoColumns', 'gridAutoFlow', 'gridAutoRows', 'gridTemplate', 'gridTemplateAreas', 'gridTemplateRows', 'gridColumn', 'gridColumnGap', 'gridRow', 'gridRowGap',
32
32
  /**
33
- * Filter
34
- */
33
+ * Filter
34
+ */
35
35
  'backdropFilter'];
36
36
 
37
37
  exports.default = styleAttributes;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",
@@ -41,7 +41,7 @@
41
41
  "registry": "https://registry.npmjs.org/"
42
42
  },
43
43
  "dependencies": {
44
- "@itcase/common": "^1.1.13",
44
+ "@itcase/common": "^1.1.15",
45
45
  "clsx": "^2.1.0",
46
46
  "html5-boilerplate": "^9.0.0",
47
47
  "js-cookie": "^3.0.5",
@@ -55,22 +55,23 @@
55
55
  "react-dom": "^18.2.0",
56
56
  "react-inlinesvg": "^4.1.3",
57
57
  "react-modern-drawer": "^1.2.2",
58
+ "react-datepicker": "^6.6.0",
58
59
  "react-otp-input": "^3.1.1",
59
60
  "react-paginate": "^8.2.0",
60
- "react-responsive": "^9.0.2",
61
+ "react-responsive": "^10.0.0",
61
62
  "react-scroll-ondrag": "^3.0.1",
62
63
  "react-scrollbars-custom": "^4.1.1",
63
64
  "react-select": "^5.8.0",
64
- "swiper": "^11.0.7",
65
+ "swiper": "^11.1.0",
65
66
  "uuid": "^9.0.1"
66
67
  },
67
68
  "devDependencies": {
68
- "@babel/core": "^7.24.0",
69
- "@babel/eslint-parser": "^7.23.10",
70
- "@babel/preset-env": "^7.24.0",
71
- "@babel/preset-react": "^7.23.3",
72
- "@commitlint/cli": "^19.0.3",
73
- "@commitlint/config-conventional": "^19.0.3",
69
+ "@babel/core": "^7.24.3",
70
+ "@babel/eslint-parser": "^7.24.1",
71
+ "@babel/preset-env": "^7.24.3",
72
+ "@babel/preset-react": "^7.24.1",
73
+ "@commitlint/cli": "^19.2.1",
74
+ "@commitlint/config-conventional": "^19.1.0",
74
75
  "@rollup/plugin-babel": "^6.0.4",
75
76
  "@rollup/plugin-commonjs": "^25.0.7",
76
77
  "@rollup/plugin-json": "^6.1.0",
@@ -78,7 +79,7 @@
78
79
  "@rollup/plugin-terser": "^0.4.4",
79
80
  "@semantic-release/changelog": "^6.0.3",
80
81
  "@semantic-release/git": "^10.0.1",
81
- "@semantic-release/release-notes-generator": "^12.1.0",
82
+ "@semantic-release/release-notes-generator": "^13.0.0",
82
83
  "babel-loader": "^9.1.3",
83
84
  "babel-plugin-inline-react-svg": "^2.0.2",
84
85
  "babel-plugin-react-docgen": "^4.2.1",
@@ -92,41 +93,40 @@
92
93
  "eslint-plugin-node": "^11.1.0",
93
94
  "eslint-plugin-prettier": "^5.1.3",
94
95
  "eslint-plugin-promise": "^6.1.1",
95
- "eslint-plugin-react": "^7.33.2",
96
+ "eslint-plugin-react": "^7.34.1",
96
97
  "eslint-plugin-react-hooks": "^4.6.0",
97
98
  "eslint-plugin-standard": "^5.0.0",
98
99
  "husky": "^9.0.11",
99
100
  "lint-staged": "^15.2.2",
100
101
  "npm": "^10.5.0",
101
- "postcss": "^8.4.35",
102
+ "postcss": "^8.4.38",
102
103
  "postcss-aspect-ratio-polyfill": "^2.0.0",
103
104
  "postcss-cli": "^11.0.0",
104
105
  "postcss-combine-duplicated-selectors": "^10.0.3",
105
106
  "postcss-csso": "^6.0.1",
106
107
  "postcss-dark-theme-class": "^1.2.1",
107
- "postcss-discard-duplicates": "^6.0.2",
108
+ "postcss-discard-duplicates": "^6.0.3",
108
109
  "postcss-each": "^1.1.0",
109
110
  "postcss-easings": "^4.0.0",
110
111
  "postcss-flexbugs-fixes": "^5.0.2",
111
112
  "postcss-hexrgba": "^2.1.0",
112
- "postcss-import": "^16.0.1",
113
+ "postcss-import": "^16.1.0",
113
114
  "postcss-import-ext-glob": "^2.1.1",
114
- "postcss-mixins": "^9.0.4",
115
+ "postcss-mixins": "^10.0.0",
115
116
  "postcss-nested": "^6.0.1",
116
117
  "postcss-nested-ancestors": "^3.0.0",
117
118
  "postcss-normalize": "^10.0.1",
118
119
  "postcss-prepend-imports": "^1.0.1",
119
- "postcss-preset-env": "^9.4.0",
120
+ "postcss-preset-env": "^9.5.3",
120
121
  "postcss-pxtorem": "^6.1.0",
121
122
  "postcss-responsive-type": "github:ITCase/postcss-responsive-type",
122
123
  "postcss-sort-media-queries": "^5.2.0",
123
124
  "prettier": "^3.2.5",
124
- "react-datepicker": "^6.2.0",
125
- "rollup": "^4.12.0",
125
+ "rollup": "^4.13.2",
126
126
  "rollup-plugin-copy": "^3.5.0",
127
127
  "rollup-plugin-peer-deps-external": "^2.2.4",
128
- "semantic-release": "^23.0.2",
129
- "stylelint": "^16.2.1",
128
+ "semantic-release": "^23.0.6",
129
+ "stylelint": "^16.3.1",
130
130
  "stylelint-config-standard": "^36.0.0",
131
131
  "stylelint-no-unsupported-browser-features": "^8.0.1",
132
132
  "stylelint-order": "^6.0.4"
@@ -1,7 +0,0 @@
1
- 'use strict';
2
-
3
- function getDefaultExportFromCjs (x) {
4
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5
- }
6
-
7
- exports.getDefaultExportFromCjs = getDefaultExportFromCjs;