@itcase/ui 1.0.96 → 1.0.99

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.
Files changed (55) hide show
  1. package/dist/components/Button.js +1 -1
  2. package/dist/components/Checkbox.js +11 -6
  3. package/dist/components/Chips.js +6 -2
  4. package/dist/components/Choice.js +25 -12
  5. package/dist/components/DadataHintField.js +1 -1
  6. package/dist/components/DatePicker.js +7746 -8885
  7. package/dist/components/FormField.js +3 -3
  8. package/dist/components/Grid.js +2 -1
  9. package/dist/components/Group.js +9 -1
  10. package/dist/components/Input.js +6 -1
  11. package/dist/components/InputPassword.js +6 -1
  12. package/dist/components/Label.js +254 -35
  13. package/dist/components/RadioButton.js +12 -7
  14. package/dist/components/Segmented.js +22 -6
  15. package/dist/components/Select.js +8520 -46
  16. package/dist/components/Swiper.js +23 -13
  17. package/dist/components/Text.js +13 -1
  18. package/dist/components/Textarea.js +6 -1
  19. package/dist/components/Title.js +11 -3
  20. package/dist/components/Tooltip.js +115 -14
  21. package/dist/css/components/Avatar/Avatar.css +7 -0
  22. package/dist/css/components/Cell/Cell.css +1 -0
  23. package/dist/css/components/Chips/Chips.css +7 -7
  24. package/dist/css/components/DatePicker/DatePicker.css +33 -84
  25. package/dist/css/components/Grid/Grid.css +8 -0
  26. package/dist/css/components/Group/Group.css +8 -0
  27. package/dist/css/components/Label/Label.css +9 -1
  28. package/dist/css/components/Swiper/Swiper.css +3 -3
  29. package/dist/css/components/Tooltip/Tooltip.css +37 -3
  30. package/dist/css/styles/align/align_vertical.css +4 -4
  31. package/dist/css/styles/border-color/border-color.css +1 -2
  32. package/dist/css/styles/border-color/border-color_hover.css +22 -0
  33. package/dist/css/styles/fill/fill.css +2 -4
  34. package/dist/css/styles/fill/fill_active.css +2 -2
  35. package/dist/css/styles/fill/fill_disabled.css +2 -2
  36. package/dist/css/styles/fill/fill_hover.css +2 -2
  37. package/dist/css/styles/fill-gradient/fill-gradient.css +1 -1
  38. package/dist/css/styles/hover/hover-fill-color.css +1 -1
  39. package/dist/css/styles/hover/hover-item-color.css +1 -1
  40. package/dist/css/styles/hover/hover-text-color.css +1 -1
  41. package/dist/css/styles/mediaqueries.css +0 -14
  42. package/dist/css/styles/text-color/text-color.css +2 -3
  43. package/dist/css/styles/text-color/text-color_active.css +1 -1
  44. package/dist/css/styles/text-color/text-color_hover.css +23 -0
  45. package/dist/css/styles/text-gradient/text-gradient.css +0 -3
  46. package/dist/floating-ui.dom-D_Zct5p2.js +1401 -0
  47. package/dist/stories/Avatar.stories.js +179 -0
  48. package/dist/stories/Cell.stories.js +317 -0
  49. package/package.json +32 -30
  50. package/dist/SelectContainer-umrbJtB5.js +0 -8728
  51. package/dist/css/styles/border-color-hover/border-color-hover.css +0 -21
  52. package/dist/css/styles/text-color-hover/text-color-hover.css +0 -21
  53. package/dist/defineProperty-ujK-k7aM.js +0 -166
  54. /package/dist/{_commonjsHelpers-rI13D0F7.js → _commonjsHelpers-CFO10eej.js} +0 -0
  55. /package/dist/css/styles/{border-color-focus/border-color-focus.css → border-color/border-color_focus.css} +0 -0
@@ -1,21 +0,0 @@
1
- .border-color_hover {
2
- @each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
3
- &_$(type) {
4
- &-border {
5
- @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
6
- hover {
7
- &-$(color) {
8
- &:hover {
9
- border-color: var(--color-$(type)-border-$(color));
10
- }
11
- &-hover {
12
- &:hover {
13
- border-color: var(--color-$(type)-border-$(color));
14
- }
15
- }
16
- }
17
- }
18
- }
19
- }
20
- }
21
- }
@@ -1,21 +0,0 @@
1
- .text-color_hover {
2
- @each $type in accent, primary, secondary, tertiary, surface, success, error, info, warning {
3
- &_$(type) {
4
- &-text {
5
- @each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled,
6
- hover {
7
- &-$(color) {
8
- &:hover {
9
- color: var(--color-$(type)-text-$(color));
10
- }
11
- &-hover {
12
- &:hover {
13
- color: var(--color-$(type)-text-$(color)-hover);
14
- }
15
- }
16
- }
17
- }
18
- }
19
- }
20
- }
21
- }
@@ -1,166 +0,0 @@
1
- 'use strict';
2
-
3
- function _typeof(obj) {
4
- "@babel/helpers - typeof";
5
-
6
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
7
- return typeof obj;
8
- } : function (obj) {
9
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
10
- }, _typeof(obj);
11
- }
12
-
13
- function _arrayLikeToArray(arr, len) {
14
- if (len == null || len > arr.length) len = arr.length;
15
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
16
- return arr2;
17
- }
18
-
19
- function _unsupportedIterableToArray(o, minLen) {
20
- if (!o) return;
21
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
22
- var n = Object.prototype.toString.call(o).slice(8, -1);
23
- if (n === "Object" && o.constructor) n = o.constructor.name;
24
- if (n === "Map" || n === "Set") return Array.from(o);
25
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
26
- }
27
-
28
- function _assertThisInitialized(self) {
29
- if (self === void 0) {
30
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
31
- }
32
- return self;
33
- }
34
-
35
- function _setPrototypeOf(o, p) {
36
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
37
- o.__proto__ = p;
38
- return o;
39
- };
40
- return _setPrototypeOf(o, p);
41
- }
42
-
43
- function _inherits(subClass, superClass) {
44
- if (typeof superClass !== "function" && superClass !== null) {
45
- throw new TypeError("Super expression must either be null or a function");
46
- }
47
- subClass.prototype = Object.create(superClass && superClass.prototype, {
48
- constructor: {
49
- value: subClass,
50
- writable: true,
51
- configurable: true
52
- }
53
- });
54
- Object.defineProperty(subClass, "prototype", {
55
- writable: false
56
- });
57
- if (superClass) _setPrototypeOf(subClass, superClass);
58
- }
59
-
60
- function _getPrototypeOf(o) {
61
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
62
- return o.__proto__ || Object.getPrototypeOf(o);
63
- };
64
- return _getPrototypeOf(o);
65
- }
66
-
67
- function _isNativeReflectConstruct() {
68
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
69
- if (Reflect.construct.sham) return false;
70
- if (typeof Proxy === "function") return true;
71
- try {
72
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
73
- return true;
74
- } catch (e) {
75
- return false;
76
- }
77
- }
78
-
79
- function _possibleConstructorReturn(self, call) {
80
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
81
- return call;
82
- } else if (call !== void 0) {
83
- throw new TypeError("Derived constructors may only return object or undefined");
84
- }
85
- return _assertThisInitialized(self);
86
- }
87
-
88
- function _createSuper(Derived) {
89
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
90
- return function _createSuperInternal() {
91
- var Super = _getPrototypeOf(Derived),
92
- result;
93
- if (hasNativeReflectConstruct) {
94
- var NewTarget = _getPrototypeOf(this).constructor;
95
- result = Reflect.construct(Super, arguments, NewTarget);
96
- } else {
97
- result = Super.apply(this, arguments);
98
- }
99
- return _possibleConstructorReturn(this, result);
100
- };
101
- }
102
-
103
- function _classCallCheck(instance, Constructor) {
104
- if (!(instance instanceof Constructor)) {
105
- throw new TypeError("Cannot call a class as a function");
106
- }
107
- }
108
-
109
- function _toPrimitive(input, hint) {
110
- if (_typeof(input) !== "object" || input === null) return input;
111
- var prim = input[Symbol.toPrimitive];
112
- if (prim !== undefined) {
113
- var res = prim.call(input, hint || "default");
114
- if (_typeof(res) !== "object") return res;
115
- throw new TypeError("@@toPrimitive must return a primitive value.");
116
- }
117
- return (hint === "string" ? String : Number)(input);
118
- }
119
-
120
- function _toPropertyKey(arg) {
121
- var key = _toPrimitive(arg, "string");
122
- return _typeof(key) === "symbol" ? key : String(key);
123
- }
124
-
125
- function _defineProperties(target, props) {
126
- for (var i = 0; i < props.length; i++) {
127
- var descriptor = props[i];
128
- descriptor.enumerable = descriptor.enumerable || false;
129
- descriptor.configurable = true;
130
- if ("value" in descriptor) descriptor.writable = true;
131
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
132
- }
133
- }
134
- function _createClass(Constructor, protoProps, staticProps) {
135
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
136
- if (staticProps) _defineProperties(Constructor, staticProps);
137
- Object.defineProperty(Constructor, "prototype", {
138
- writable: false
139
- });
140
- return Constructor;
141
- }
142
-
143
- function _defineProperty(obj, key, value) {
144
- key = _toPropertyKey(key);
145
- if (key in obj) {
146
- Object.defineProperty(obj, key, {
147
- value: value,
148
- enumerable: true,
149
- configurable: true,
150
- writable: true
151
- });
152
- } else {
153
- obj[key] = value;
154
- }
155
- return obj;
156
- }
157
-
158
- exports._arrayLikeToArray = _arrayLikeToArray;
159
- exports._assertThisInitialized = _assertThisInitialized;
160
- exports._classCallCheck = _classCallCheck;
161
- exports._createClass = _createClass;
162
- exports._createSuper = _createSuper;
163
- exports._defineProperty = _defineProperty;
164
- exports._inherits = _inherits;
165
- exports._typeof = _typeof;
166
- exports._unsupportedIterableToArray = _unsupportedIterableToArray;