@enact/limestone 1.10.1 → 1.10.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.
Files changed (122) hide show
  1. package/.github/PULL_REQUEST_TEMPLATE.md +1 -0
  2. package/ActionGuide/ActionGuide.d.ts +1 -1
  3. package/ActionGuide/ActionGuide.module.css +3 -0
  4. package/Alert/Alert.d.ts +9 -0
  5. package/Alert/Alert.js +63 -21
  6. package/Alert/Alert.module.css +41 -9
  7. package/Alert/AlertImage.module.css +5 -1
  8. package/Alert/tests/Alert-specs.js +6 -2
  9. package/BodyText/BodyText.d.ts +1 -1
  10. package/BodyText/BodyText.js +14 -9
  11. package/BodyText/BodyText.module.css +1 -1
  12. package/Button/Button.d.ts +3 -3
  13. package/Button/Button.module.css +14 -28
  14. package/CHANGELOG.md +48 -1
  15. package/Card/Card.d.ts +81 -9
  16. package/Card/Card.js +321 -84
  17. package/Card/Card.module.css +171 -20
  18. package/Card/tests/Card-specs.js +100 -0
  19. package/Checkbox/Checkbox.d.ts +2 -2
  20. package/Checkbox/Checkbox.module.css +2 -9
  21. package/CheckboxItem/CheckboxItem.d.ts +8 -1
  22. package/CheckboxItem/CheckboxItem.js +39 -12
  23. package/CheckboxItem/CheckboxItem.module.css +228 -4
  24. package/Chips/Chip.module.css +2 -2
  25. package/ContextualMenuDecorator/ContextualMenuDecorator.d.ts +2 -2
  26. package/ContextualPopupDecorator/ContextualPopup.module.css +1 -1
  27. package/ContextualPopupDecorator/ContextualPopupDecorator.js +2 -4
  28. package/ContextualPopupDecorator/tests/ContextualPopupDecorator-specs.js +39 -2
  29. package/Dropdown/Dropdown.d.ts +2 -2
  30. package/Dropdown/Dropdown.module.css +7 -7
  31. package/FixedPopupPanels/FixedPopupPanels.d.ts +2 -2
  32. package/FlexiblePopupPanels/FlexiblePopupPanels.module.css +15 -3
  33. package/FlexiblePopupPanels/index.d.ts +2 -2
  34. package/FormCheckboxItem/FormCheckboxItem.d.ts +1 -1
  35. package/FormCheckboxItem/FormCheckboxItem.js +1 -0
  36. package/FormCheckboxItem/FormCheckboxItem.module.css +1 -1
  37. package/Heading/Heading.d.ts +2 -2
  38. package/Icon/Icon.d.ts +22 -1
  39. package/Icon/Icon.js +21 -0
  40. package/Icon/IconList.js +43 -1
  41. package/IconItem/IconItem.d.ts +2 -2
  42. package/IconItem/IconItem.module.css +11 -14
  43. package/Image/Image.d.ts +1 -1
  44. package/Image/Image.module.css +1 -1
  45. package/ImageItem/ImageItem.d.ts +2 -2
  46. package/ImageItem/ImageItem.js +3 -16
  47. package/ImageItem/ImageItem.module.css +105 -97
  48. package/ImageItem/tests/ImageItem-specs.js +6 -5
  49. package/Input/Input.module.css +8 -7
  50. package/Input/InputField.module.css +4 -4
  51. package/Input/index.d.ts +1 -1
  52. package/Input/tests/Input-specs.js +2 -2
  53. package/Input/tests/InputField-specs.js +1 -1
  54. package/Item/Item.d.ts +2 -2
  55. package/Item/Item.module.css +27 -15
  56. package/KeyGuide/KeyGuide.d.ts +2 -2
  57. package/MediaOverlay/MediaOverlay.d.ts +2 -2
  58. package/MediaOverlay/MediaOverlay.module.css +2 -5
  59. package/MediaPlayer/MediaSlider.module.css +1 -0
  60. package/MediaPlayer/Times.module.css +1 -1
  61. package/MediaPlayer/index.d.ts +2 -2
  62. package/PageViews/PageViews.module.css +2 -1
  63. package/Panels/Header.module.css +40 -28
  64. package/Panels/Panel.module.css +1 -1
  65. package/Panels/index.d.ts +1 -1
  66. package/Picker/Picker.d.ts +1 -1
  67. package/Popup/Popup.module.css +4 -1
  68. package/PopupTabLayout/PopupTabLayout.d.ts +6 -6
  69. package/PopupTabLayout/PopupTabLayout.module.css +6 -6
  70. package/ProgressBar/ProgressBar.d.ts +1 -1
  71. package/ProgressBar/ProgressBar.module.css +12 -12
  72. package/ProgressBar/ProgressBarTooltip.module.css +7 -7
  73. package/ProgressButton/ProgressButton.d.ts +2 -2
  74. package/QuickGuidePanels/QuickGuidePanels.module.css +1 -1
  75. package/RadioItem/RadioItem.d.ts +1 -1
  76. package/RadioItem/RadioItem.module.css +18 -20
  77. package/Scroller/Scroller.d.ts +12 -0
  78. package/Scroller/Scroller.js +15 -0
  79. package/Scroller/tests/Scroller-specs.js +29 -0
  80. package/Scroller/useThemeScroller.js +22 -2
  81. package/Slider/Slider.d.ts +1 -1
  82. package/Slider/Slider.module.css +539 -300
  83. package/Spinner/Spinner.d.ts +1 -1
  84. package/Spinner/Spinner.module.css +2 -2
  85. package/Steps/Steps.d.ts +1 -1
  86. package/Steps/Steps.js +12 -6
  87. package/Steps/Steps.module.css +16 -2
  88. package/Switch/Switch.module.css +2 -5
  89. package/SwitchItem/SwitchItem.d.ts +1 -1
  90. package/TabLayout/RefocusDecorator.js +1 -1
  91. package/TabLayout/TabGroup.module.css +12 -6
  92. package/TabLayout/TabLayout.js +4 -0
  93. package/ThemeDecorator/ThemeDecorator.d.ts +1 -1
  94. package/ThemeDecorator/ThemeDecorator.module.css +22 -1
  95. package/TooltipDecorator/Tooltip.js +68 -7
  96. package/TooltipDecorator/Tooltip.module.css +40 -23
  97. package/TooltipDecorator/TooltipDecorator.d.ts +52 -0
  98. package/TooltipDecorator/TooltipDecorator.js +42 -0
  99. package/TooltipDecorator/TooltipLabel.js +67 -14
  100. package/TooltipDecorator/tests/TooltipDecorator-specs.js +46 -0
  101. package/TooltipDecorator/useTooltip.js +14 -2
  102. package/VideoPlayer/MediaTitle.module.css +1 -1
  103. package/VirtualList/VirtualList.d.ts +24 -0
  104. package/VirtualList/VirtualList.js +30 -0
  105. package/VirtualList/tests/stickTo-specs.js +115 -0
  106. package/VirtualList/tests/useEvent-specs.js +39 -0
  107. package/VirtualList/useEvent.js +45 -10
  108. package/VirtualList/useThemeVirtualList.js +20 -2
  109. package/WizardPanels/WizardPanels.module.css +1 -1
  110. package/fonts/Limestone_Icons.ttf +0 -0
  111. package/internal/DateComponentPicker/DateComponentPicker.module.css +3 -3
  112. package/internal/Picker/Picker.js +8 -10
  113. package/internal/Picker/Picker.module.css +74 -141
  114. package/package.json +11 -14
  115. package/styles/color-mixins.less +4 -60
  116. package/styles/colors-game.less +5 -5
  117. package/styles/colors.less +9 -10
  118. package/styles/mixins.less +0 -46
  119. package/styles/motion-mixins.less +16 -7
  120. package/styles/motions.less +2 -2
  121. package/styles/variables.less +71 -46
  122. package/useScroll/useScroll.js +3 -1
@@ -13,13 +13,14 @@ var _Toggleable = _interopRequireDefault(require("@enact/ui/Toggleable"));
13
13
  var _IString = _interopRequireDefault(require("ilib/lib/IString"));
14
14
  var _propTypes = _interopRequireDefault(require("prop-types"));
15
15
  var _compose = _interopRequireDefault(require("ramda/src/compose"));
16
+ var _react = require("react");
16
17
  var _$L = _interopRequireDefault(require("../internal/$L"));
17
18
  var _Checkbox = require("../Checkbox");
18
19
  var _Item = require("../Item");
19
20
  var _Skinnable = _interopRequireDefault(require("../Skinnable"));
20
21
  var _CheckboxItemModule = _interopRequireDefault(require("./CheckboxItem.module.css"));
21
22
  var _jsxRuntime = require("react/jsx-runtime");
22
- var _excluded = ["children", "css", "icon", "indeterminate", "indeterminateIcon", "selected", "slotBefore"],
23
+ var _excluded = ["children", "css", "formCheckbox", "icon", "indeterminate", "indeterminateIcon", "selected", "slotBefore"],
23
24
  _excluded2 = ["children", "groupId", "itemProps"],
24
25
  _excluded3 = ["children"];
25
26
  /**
@@ -43,6 +44,9 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
43
44
  function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
44
45
  function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
45
46
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
47
+ var hasChildren = function hasChildren(children) {
48
+ return _react.Children.toArray(children).filter(Boolean).length > 0;
49
+ };
46
50
  var Item = (0, _Item.ItemDecorator)(_Item.ItemBase);
47
51
  var Checkbox = (0, _Skinnable["default"])(_Checkbox.CheckboxBase);
48
52
  Checkbox.displayName = 'Checkbox';
@@ -85,6 +89,16 @@ var CheckboxItemBase = exports.CheckboxItemBase = (0, _kind["default"])({
85
89
  * @public
86
90
  */
87
91
  css: _propTypes["default"].object,
92
+ /**
93
+ * Enables the "formCheckbox" state.
94
+ *
95
+ * In "formCheckbox" mode, the spotlight is located on the Checkbox component and the Item does not receive
96
+ * visual feedback on focus
97
+ *
98
+ * @type {Boolean}
99
+ * @public
100
+ */
101
+ formCheckbox: _propTypes["default"].bool,
88
102
  /**
89
103
  * The icon content.
90
104
  *
@@ -141,6 +155,9 @@ var CheckboxItemBase = exports.CheckboxItemBase = (0, _kind["default"])({
141
155
  */
142
156
  slotBefore: _propTypes["default"].node
143
157
  },
158
+ defaultProps: {
159
+ formCheckbox: false
160
+ },
144
161
  styles: {
145
162
  css: _CheckboxItemModule["default"],
146
163
  className: 'checkboxItem',
@@ -148,22 +165,31 @@ var CheckboxItemBase = exports.CheckboxItemBase = (0, _kind["default"])({
148
165
  },
149
166
  computed: {
150
167
  className: function className(_ref) {
151
- var label = _ref.label,
168
+ var formCheckbox = _ref.formCheckbox,
169
+ label = _ref.label,
170
+ slotBefore = _ref.slotBefore,
152
171
  styler = _ref.styler;
153
172
  return styler.append({
154
- hasLabel: label != null
173
+ formCheckbox: formCheckbox === true,
174
+ hasLabel: label != null && label.length > 0,
175
+ hasSlotBefore: hasChildren(slotBefore)
155
176
  });
177
+ },
178
+ label: function label(_ref2) {
179
+ var _label = _ref2.label;
180
+ return _label != null && _label.length > 0 ? _label : null;
156
181
  }
157
182
  },
158
- render: function render(_ref2) {
159
- var children = _ref2.children,
160
- css = _ref2.css,
161
- icon = _ref2.icon,
162
- indeterminate = _ref2.indeterminate,
163
- indeterminateIcon = _ref2.indeterminateIcon,
164
- selected = _ref2.selected,
165
- slotBefore = _ref2.slotBefore,
166
- rest = _objectWithoutProperties(_ref2, _excluded);
183
+ render: function render(_ref3) {
184
+ var children = _ref3.children,
185
+ css = _ref3.css,
186
+ formCheckbox = _ref3.formCheckbox,
187
+ icon = _ref3.icon,
188
+ indeterminate = _ref3.indeterminate,
189
+ indeterminateIcon = _ref3.indeterminateIcon,
190
+ selected = _ref3.selected,
191
+ slotBefore = _ref3.slotBefore,
192
+ rest = _objectWithoutProperties(_ref3, _excluded);
167
193
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Item, _objectSpread(_objectSpread({
168
194
  "data-webos-voice-intent": "SelectCheckItem",
169
195
  role: "checkbox"
@@ -177,6 +203,7 @@ var CheckboxItemBase = exports.CheckboxItemBase = (0, _kind["default"])({
177
203
  selected: selected,
178
204
  indeterminate: indeterminate,
179
205
  indeterminateIcon: indeterminateIcon,
206
+ standalone: formCheckbox,
180
207
  children: icon
181
208
  }), slotBefore]
182
209
  }), children]
@@ -1,13 +1,12 @@
1
1
  .checkboxItem {
2
- /* Needed to prevent global class being added in the DOM */
3
2
  padding: var(--primitive-spacing-36) var(--primitive-spacing-48) var(--primitive-spacing-36) var(--primitive-spacing-60);
4
3
  }
5
- .checkboxItem.selected {
6
- /* Available for customization */
7
- }
8
4
  :global(.enact-locale-right-to-left) .checkboxItem {
9
5
  padding: var(--primitive-spacing-36) var(--primitive-spacing-60) var(--primitive-spacing-36) var(--primitive-spacing-48);
10
6
  }
7
+ .checkboxItem.selected {
8
+ /* Available for customization */
9
+ }
11
10
  .checkboxItem .bg {
12
11
  /* Available for customization */
13
12
  }
@@ -17,15 +16,129 @@
17
16
  :global(.enact-locale-right-to-left) .checkboxItem.hasLabel {
18
17
  padding: var(--primitive-spacing-48) var(--primitive-spacing-60) var(--primitive-spacing-48) var(--primitive-spacing-48);
19
18
  }
19
+ .checkboxItem.formCheckbox .slotBefore .checkbox {
20
+ margin-inline-end: 0.75rem;
21
+ }
20
22
  .checkboxItem:global(.neutral).selected .bg {
21
23
  background-color: transparent;
22
24
  }
25
+ :global(.spotlight-input-key) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):focus,
26
+ :global(.spotlight-input-mouse) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):focus {
27
+ color: var(--semantic-color-on-background-main);
28
+ }
29
+ :global(.spotlight-input-key) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):focus .bg,
30
+ :global(.spotlight-input-mouse) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):focus .bg {
31
+ background-color: transparent;
32
+ opacity: 0;
33
+ }
34
+ :global(.spotlight-input-key) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):focus[disabled],
35
+ :global(.spotlight-input-mouse) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):focus[disabled] {
36
+ color: inherit;
37
+ }
38
+ :global(.spotlight-input-key) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):focus[disabled] .slotBefore,
39
+ :global(.spotlight-input-mouse) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):focus[disabled] .slotBefore {
40
+ opacity: initial;
41
+ }
42
+ :global(.spotlight-input-key) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):focus[disabled].hasSlotBefore .slotBefore > :last-child,
43
+ :global(.spotlight-input-mouse) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):focus[disabled].hasSlotBefore .slotBefore > :last-child {
44
+ opacity: 0.4;
45
+ }
46
+ :global(.spotlight-input-touch) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):active {
47
+ color: var(--semantic-color-on-background-main);
48
+ }
49
+ :global(.spotlight-input-touch) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):active .bg {
50
+ background-color: transparent;
51
+ opacity: 0;
52
+ }
53
+ :global(.spotlight-input-touch) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):active[disabled] {
54
+ color: inherit;
55
+ }
56
+ :global(.spotlight-input-touch) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):active[disabled] .slotBefore {
57
+ opacity: initial;
58
+ }
59
+ :global(.spotlight-input-touch) .checkboxItem:global(.neutral).formCheckbox:global(.spottable):active[disabled].hasSlotBefore .slotBefore > :last-child {
60
+ opacity: 0.4;
61
+ }
23
62
  :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).selected .bg {
24
63
  background-color: transparent;
25
64
  }
65
+ :global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):focus,
66
+ :global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):focus {
67
+ color: var(--semantic-color-on-background-main);
68
+ }
69
+ :global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):focus .bg,
70
+ :global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):focus .bg {
71
+ background-color: transparent;
72
+ opacity: 0;
73
+ }
74
+ :global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):focus[disabled],
75
+ :global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):focus[disabled] {
76
+ color: inherit;
77
+ }
78
+ :global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):focus[disabled] .slotBefore,
79
+ :global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):focus[disabled] .slotBefore {
80
+ opacity: initial;
81
+ }
82
+ :global(.spotlight-input-key) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):focus[disabled].hasSlotBefore .slotBefore > :last-child,
83
+ :global(.spotlight-input-mouse) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):focus[disabled].hasSlotBefore .slotBefore > :last-child {
84
+ opacity: 0.4;
85
+ }
86
+ :global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):active {
87
+ color: var(--semantic-color-on-background-main);
88
+ }
89
+ :global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):active .bg {
90
+ background-color: transparent;
91
+ opacity: 0;
92
+ }
93
+ :global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):active[disabled] {
94
+ color: inherit;
95
+ }
96
+ :global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):active[disabled] .slotBefore {
97
+ opacity: initial;
98
+ }
99
+ :global(.spotlight-input-touch) :global(.enact-a11y-high-contrast) .checkboxItem:global(.neutral):global(.highContrast).formCheckbox:global(.spottable):active[disabled].hasSlotBefore .slotBefore > :last-child {
100
+ opacity: 0.4;
101
+ }
26
102
  .checkboxItem:global(.light).selected .bg {
27
103
  background-color: transparent;
28
104
  }
105
+ :global(.spotlight-input-key) .checkboxItem:global(.light).formCheckbox:global(.spottable):focus,
106
+ :global(.spotlight-input-mouse) .checkboxItem:global(.light).formCheckbox:global(.spottable):focus {
107
+ color: var(--semantic-color-on-background-main);
108
+ }
109
+ :global(.spotlight-input-key) .checkboxItem:global(.light).formCheckbox:global(.spottable):focus .bg,
110
+ :global(.spotlight-input-mouse) .checkboxItem:global(.light).formCheckbox:global(.spottable):focus .bg {
111
+ background-color: transparent;
112
+ opacity: 0;
113
+ }
114
+ :global(.spotlight-input-key) .checkboxItem:global(.light).formCheckbox:global(.spottable):focus[disabled],
115
+ :global(.spotlight-input-mouse) .checkboxItem:global(.light).formCheckbox:global(.spottable):focus[disabled] {
116
+ color: inherit;
117
+ }
118
+ :global(.spotlight-input-key) .checkboxItem:global(.light).formCheckbox:global(.spottable):focus[disabled] .slotBefore,
119
+ :global(.spotlight-input-mouse) .checkboxItem:global(.light).formCheckbox:global(.spottable):focus[disabled] .slotBefore {
120
+ opacity: initial;
121
+ }
122
+ :global(.spotlight-input-key) .checkboxItem:global(.light).formCheckbox:global(.spottable):focus[disabled].hasSlotBefore .slotBefore > :last-child,
123
+ :global(.spotlight-input-mouse) .checkboxItem:global(.light).formCheckbox:global(.spottable):focus[disabled].hasSlotBefore .slotBefore > :last-child {
124
+ opacity: 0.4;
125
+ }
126
+ :global(.spotlight-input-touch) .checkboxItem:global(.light).formCheckbox:global(.spottable):active {
127
+ color: var(--semantic-color-on-background-main);
128
+ }
129
+ :global(.spotlight-input-touch) .checkboxItem:global(.light).formCheckbox:global(.spottable):active .bg {
130
+ background-color: transparent;
131
+ opacity: 0;
132
+ }
133
+ :global(.spotlight-input-touch) .checkboxItem:global(.light).formCheckbox:global(.spottable):active[disabled] {
134
+ color: inherit;
135
+ }
136
+ :global(.spotlight-input-touch) .checkboxItem:global(.light).formCheckbox:global(.spottable):active[disabled] .slotBefore {
137
+ opacity: initial;
138
+ }
139
+ :global(.spotlight-input-touch) .checkboxItem:global(.light).formCheckbox:global(.spottable):active[disabled].hasSlotBefore .slotBefore > :last-child {
140
+ opacity: 0.4;
141
+ }
29
142
  .checkboxItem:global(.game) {
30
143
  --semantic-color-surface-default: #2d224c;
31
144
  --semantic-color-surface-default-focused: #6d2fa1;
@@ -34,6 +147,43 @@
34
147
  .checkboxItem:global(.game).selected .bg {
35
148
  background-color: transparent;
36
149
  }
150
+ :global(.spotlight-input-key) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus,
151
+ :global(.spotlight-input-mouse) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus {
152
+ color: var(--semantic-color-on-background-main);
153
+ }
154
+ :global(.spotlight-input-key) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus .bg,
155
+ :global(.spotlight-input-mouse) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus .bg {
156
+ background-color: transparent;
157
+ opacity: 0;
158
+ }
159
+ :global(.spotlight-input-key) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled],
160
+ :global(.spotlight-input-mouse) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled] {
161
+ color: inherit;
162
+ }
163
+ :global(.spotlight-input-key) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled] .slotBefore,
164
+ :global(.spotlight-input-mouse) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled] .slotBefore {
165
+ opacity: initial;
166
+ }
167
+ :global(.spotlight-input-key) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled].hasSlotBefore .slotBefore > :last-child,
168
+ :global(.spotlight-input-mouse) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled].hasSlotBefore .slotBefore > :last-child {
169
+ opacity: 0.4;
170
+ }
171
+ :global(.spotlight-input-touch) .checkboxItem:global(.game).formCheckbox:global(.spottable):active {
172
+ color: var(--semantic-color-on-background-main);
173
+ }
174
+ :global(.spotlight-input-touch) .checkboxItem:global(.game).formCheckbox:global(.spottable):active .bg {
175
+ background-color: transparent;
176
+ opacity: 0;
177
+ }
178
+ :global(.spotlight-input-touch) .checkboxItem:global(.game).formCheckbox:global(.spottable):active[disabled] {
179
+ color: inherit;
180
+ }
181
+ :global(.spotlight-input-touch) .checkboxItem:global(.game).formCheckbox:global(.spottable):active[disabled] .slotBefore {
182
+ opacity: initial;
183
+ }
184
+ :global(.spotlight-input-touch) .checkboxItem:global(.game).formCheckbox:global(.spottable):active[disabled].hasSlotBefore .slotBefore > :last-child {
185
+ opacity: 0.4;
186
+ }
37
187
  :global(.green) .checkboxItem:global(.game) {
38
188
  --semantic-color-surface-default: #1F2C24;
39
189
  --semantic-color-surface-default-focused: #3ea07d;
@@ -41,6 +191,43 @@
41
191
  :global(.green) .checkboxItem:global(.game).selected .bg {
42
192
  background-color: transparent;
43
193
  }
194
+ :global(.spotlight-input-key) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus,
195
+ :global(.spotlight-input-mouse) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus {
196
+ color: var(--semantic-color-on-background-main);
197
+ }
198
+ :global(.spotlight-input-key) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus .bg,
199
+ :global(.spotlight-input-mouse) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus .bg {
200
+ background-color: transparent;
201
+ opacity: 0;
202
+ }
203
+ :global(.spotlight-input-key) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled],
204
+ :global(.spotlight-input-mouse) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled] {
205
+ color: inherit;
206
+ }
207
+ :global(.spotlight-input-key) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled] .slotBefore,
208
+ :global(.spotlight-input-mouse) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled] .slotBefore {
209
+ opacity: initial;
210
+ }
211
+ :global(.spotlight-input-key) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled].hasSlotBefore .slotBefore > :last-child,
212
+ :global(.spotlight-input-mouse) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled].hasSlotBefore .slotBefore > :last-child {
213
+ opacity: 0.4;
214
+ }
215
+ :global(.spotlight-input-touch) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):active {
216
+ color: var(--semantic-color-on-background-main);
217
+ }
218
+ :global(.spotlight-input-touch) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):active .bg {
219
+ background-color: transparent;
220
+ opacity: 0;
221
+ }
222
+ :global(.spotlight-input-touch) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):active[disabled] {
223
+ color: inherit;
224
+ }
225
+ :global(.spotlight-input-touch) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):active[disabled] .slotBefore {
226
+ opacity: initial;
227
+ }
228
+ :global(.spotlight-input-touch) :global(.green) .checkboxItem:global(.game).formCheckbox:global(.spottable):active[disabled].hasSlotBefore .slotBefore > :last-child {
229
+ opacity: 0.4;
230
+ }
44
231
  :global(.orange) .checkboxItem:global(.game) {
45
232
  --semantic-color-surface-default: #422923;
46
233
  --semantic-color-surface-default-focused: #b85f23;
@@ -48,3 +235,40 @@
48
235
  :global(.orange) .checkboxItem:global(.game).selected .bg {
49
236
  background-color: transparent;
50
237
  }
238
+ :global(.spotlight-input-key) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus,
239
+ :global(.spotlight-input-mouse) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus {
240
+ color: var(--semantic-color-on-background-main);
241
+ }
242
+ :global(.spotlight-input-key) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus .bg,
243
+ :global(.spotlight-input-mouse) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus .bg {
244
+ background-color: transparent;
245
+ opacity: 0;
246
+ }
247
+ :global(.spotlight-input-key) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled],
248
+ :global(.spotlight-input-mouse) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled] {
249
+ color: inherit;
250
+ }
251
+ :global(.spotlight-input-key) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled] .slotBefore,
252
+ :global(.spotlight-input-mouse) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled] .slotBefore {
253
+ opacity: initial;
254
+ }
255
+ :global(.spotlight-input-key) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled].hasSlotBefore .slotBefore > :last-child,
256
+ :global(.spotlight-input-mouse) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):focus[disabled].hasSlotBefore .slotBefore > :last-child {
257
+ opacity: 0.4;
258
+ }
259
+ :global(.spotlight-input-touch) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):active {
260
+ color: var(--semantic-color-on-background-main);
261
+ }
262
+ :global(.spotlight-input-touch) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):active .bg {
263
+ background-color: transparent;
264
+ opacity: 0;
265
+ }
266
+ :global(.spotlight-input-touch) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):active[disabled] {
267
+ color: inherit;
268
+ }
269
+ :global(.spotlight-input-touch) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):active[disabled] .slotBefore {
270
+ opacity: initial;
271
+ }
272
+ :global(.spotlight-input-touch) :global(.orange) .checkboxItem:global(.game).formCheckbox:global(.spottable):active[disabled].hasSlotBefore .slotBefore > :last-child {
273
+ opacity: 0.4;
274
+ }
@@ -13,7 +13,7 @@
13
13
  .chip .deleteButtonContainer.right {
14
14
  top: 50%;
15
15
  right: 0;
16
- transform: translateY(-50%) translateX(calc(100% + var(--primitive-spacing-12) ));
16
+ transform: translateY(-50%) translateX(calc(100% + var(--primitive-spacing-12) ));
17
17
  }
18
18
  .chip .deleteButtonContainer.bottom {
19
19
  bottom: calc( var(--primitive-spacing-12) * -1);
@@ -21,7 +21,7 @@
21
21
  transform: translate(-50%, 100%);
22
22
  }
23
23
  .chip .deleteButtonContainer.top {
24
- top: calc(-100% - var(--primitive-spacing-12) );
24
+ top: calc(-100% - var(--primitive-spacing-12) );
25
25
  left: 50%;
26
26
  transform: translateX(-50%);
27
27
  }
@@ -1,8 +1,8 @@
1
1
  // Type definitions for limestone/ContextualMenuDecorator
2
2
 
3
3
  import { ToggleableProps as ui_Toggleable_ToggleableProps } from "@enact/ui/Toggleable";
4
- import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "limestone/Skinnable";
5
- import { ContextualPopupDecoratorProps as limestone_ContextualPopupDecorator_ContextualPopupDecoratorProps } from "limestone/ContextualPopupDecorator";
4
+ import { SkinnableProps as limestone_Skinnable_SkinnableProps } from "@enact/limestone/Skinnable";
5
+ import { ContextualPopupDecoratorProps as limestone_ContextualPopupDecorator_ContextualPopupDecoratorProps } from "@enact/limestone/ContextualPopupDecorator";
6
6
 
7
7
  type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
8
8
  type Merge<M, N> = Omit<M, Extract<keyof M, keyof N>> & N;
@@ -3,7 +3,7 @@
3
3
  font-size: var(--primitive-font-size-60);
4
4
  font-style: normal;
5
5
  font-family: "Limestone";
6
- line-height: 1.4em;
6
+ line-height: 1.34em;
7
7
  position: absolute;
8
8
  }
9
9
  :global(.enact-locale-non-latin) .contextualPopup {
@@ -587,10 +587,8 @@ var Decorator = (0, _hoc["default"])(defaultConfig, function (config, Wrapped) {
587
587
  });
588
588
  }
589
589
  return function () {
590
- if (componentProps.open) {
591
- (0, _dispatcher.off)('keydown', keyDownRef.current);
592
- (0, _dispatcher.off)('keyup', keyUpRef.current);
593
- }
590
+ (0, _dispatcher.off)('keydown', keyDownRef.current);
591
+ (0, _dispatcher.off)('keyup', keyUpRef.current);
594
592
  _spotlight["default"].remove(localId);
595
593
  if (resizeObserver.current) {
596
594
  resizeObserver.current.disconnect();
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+ var dispatcher = _interopRequireWildcard(require("@enact/core/dispatcher"));
3
4
  var _pointer = require("@enact/spotlight/src/pointer");
4
5
  var _FloatingLayer = require("@enact/ui/FloatingLayer");
5
6
  require("@testing-library/jest-dom");
@@ -9,6 +10,7 @@ var _Button = _interopRequireDefault(require("../../Button"));
9
10
  var _ContextualPopupDecorator = require("../ContextualPopupDecorator");
10
11
  var _jsxRuntime = require("react/jsx-runtime");
11
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
13
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
12
14
  function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
13
15
  function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
14
16
  var ContextualButton = (0, _ContextualPopupDecorator.ContextualPopupDecorator)(_Button["default"]);
@@ -574,6 +576,41 @@ describe('ContextualPopupDecorator Specs', function () {
574
576
  expect(scrimDivFirst).toHaveClass(expectedFirst);
575
577
  expect(scrimDivSecond).toHaveClass(expectedSecond);
576
578
  });
579
+ test('should remove global key listeners on unmount while open', function () {
580
+ var offSpy = jest.spyOn(dispatcher, 'off');
581
+ var Root = (0, _FloatingLayer.FloatingLayerDecorator)('div');
582
+ var popup = function popup() {
583
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
584
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Button["default"], {
585
+ children: "first"
586
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button["default"], {
587
+ children: "second"
588
+ })]
589
+ });
590
+ };
591
+ var _render4 = (0, _react.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(Root, {
592
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ContextualButton, {
593
+ popupComponent: popup,
594
+ spotlightRestrict: "self-only",
595
+ children: "Hello"
596
+ })
597
+ })),
598
+ rerender = _render4.rerender,
599
+ unmount = _render4.unmount;
600
+ rerender(/*#__PURE__*/(0, _jsxRuntime.jsx)(Root, {
601
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ContextualButton, {
602
+ open: true,
603
+ popupComponent: popup,
604
+ spotlightRestrict: "self-only",
605
+ children: "Hello"
606
+ })
607
+ }));
608
+ offSpy.mockClear();
609
+ unmount();
610
+ expect(offSpy).toHaveBeenCalledWith('keydown', expect.any(Function));
611
+ expect(offSpy).toHaveBeenCalledWith('keyup', expect.any(Function));
612
+ offSpy.mockRestore();
613
+ });
577
614
  test('should create and observe with `ResizeObserver` when the popup opened and disconnect when the popup closed', function () {
578
615
  var originalObserver = global.ResizeObserver;
579
616
  var MockObserverInstance = {
@@ -584,7 +621,7 @@ describe('ContextualPopupDecorator Specs', function () {
584
621
  return MockObserverInstance;
585
622
  });
586
623
  var Root = (0, _FloatingLayer.FloatingLayerDecorator)('div');
587
- var _render4 = (0, _react.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(Root, {
624
+ var _render5 = (0, _react.render)(/*#__PURE__*/(0, _jsxRuntime.jsx)(Root, {
588
625
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ContextualButton, {
589
626
  "data-testid": "contextualButton",
590
627
  open: true,
@@ -598,7 +635,7 @@ describe('ContextualPopupDecorator Specs', function () {
598
635
  children: "Hello"
599
636
  })
600
637
  })),
601
- rerender = _render4.rerender;
638
+ rerender = _render5.rerender;
602
639
  var contextualButton = _react.screen.getByTestId('contextualButton');
603
640
  expect(contextualButton).toBeInTheDocument();
604
641
  expect(MockObserverInstance.observe).toHaveBeenCalled();
@@ -4,8 +4,8 @@ import * as React from "react";
4
4
  import { ChangeableProps as ui_Changeable_ChangeableProps } from "@enact/ui/Changeable";
5
5
  import { ToggleableProps as ui_Toggleable_ToggleableProps } from "@enact/ui/Toggleable";
6
6
  import { SpotlightContainerDecoratorProps as spotlight_SpotlightContainerDecorator_SpotlightContainerDecoratorProps } from "@enact/spotlight/SpotlightContainerDecorator";
7
- import { ButtonProps as limestone_Button_ButtonProps } from "limestone/Button";
8
- import { ContextualPopupDecoratorProps as limestone_ContextualPopupDecorator_ContextualPopupDecoratorProps } from "limestone/ContextualPopupDecorator";
7
+ import { ButtonProps as limestone_Button_ButtonProps } from "@enact/limestone/Button";
8
+ import { ContextualPopupDecoratorProps as limestone_ContextualPopupDecorator_ContextualPopupDecoratorProps } from "@enact/limestone/ContextualPopupDecorator";
9
9
 
10
10
  type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
11
11
  type Merge<M, N> = Omit<M, Extract<keyof M, keyof N>> & N;
@@ -4,43 +4,43 @@
4
4
  min-width: 6.25rem;
5
5
  }
6
6
  .dropdown.tinyWidth .title {
7
- width: NaNrem - var(--primitive-spacing-24) * 2);
7
+ width: calc(480px - var(--primitive-spacing-24) * 2);
8
8
  }
9
9
  .dropdown.tinyWidth .button {
10
10
  width: 10rem;
11
11
  }
12
12
  .dropdown.smallWidth .title {
13
- width: NaNrem - var(--primitive-spacing-24) * 2);
13
+ width: calc(540px - var(--primitive-spacing-24) * 2);
14
14
  }
15
15
  .dropdown.smallWidth .button {
16
16
  width: 11.25rem;
17
17
  }
18
18
  .dropdown.mediumWidth .title {
19
- width: NaNrem - var(--primitive-spacing-24) * 2);
19
+ width: calc(690px - var(--primitive-spacing-24) * 2);
20
20
  }
21
21
  .dropdown.mediumWidth .button {
22
22
  width: 14.375rem;
23
23
  }
24
24
  .dropdown.largeWidth .title {
25
- width: NaNrem - var(--primitive-spacing-24) * 2);
25
+ width: calc(840px - var(--primitive-spacing-24) * 2);
26
26
  }
27
27
  .dropdown.largeWidth .button {
28
28
  width: 17.5rem;
29
29
  }
30
30
  .dropdown.x-largeWidth .title {
31
- width: NaNrem - var(--primitive-spacing-24) * 2);
31
+ width: calc(1050px - var(--primitive-spacing-24) * 2);
32
32
  }
33
33
  .dropdown.x-largeWidth .button {
34
34
  width: 21.875rem;
35
35
  }
36
36
  .dropdown.hugeWidth .title {
37
- width: NaNrem - var(--primitive-spacing-24) * 2);
37
+ width: calc(1380px - var(--primitive-spacing-24) * 2);
38
38
  }
39
39
  .dropdown.hugeWidth .button {
40
40
  width: 28.75rem;
41
41
  }
42
42
  .dropdown .title {
43
- min-width: NaNrem - var(--primitive-spacing-24) * 2);
43
+ min-width: calc(300px - var(--primitive-spacing-24) * 2);
44
44
  padding: var(--primitive-spacing-36) var(--primitive-spacing-24);
45
45
  margin: 0;
46
46
  }
@@ -1,8 +1,8 @@
1
1
  // Type definitions for limestone/FixedPopupPanels
2
2
 
3
3
  import * as React from "react";
4
- import { PanelProps as limestone_Panels_PanelProps } from "limestone/Panels";
5
- import { HeaderProps as limestone_Panels_HeaderProps } from "limestone/Panels";
4
+ import { PanelProps as limestone_Panels_PanelProps } from "@enact/limestone/Panels";
5
+ import { HeaderProps as limestone_Panels_HeaderProps } from "@enact/limestone/Panels";
6
6
 
7
7
  type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
8
8
  type Merge<M, N> = Omit<M, Extract<keyof M, keyof N>> & N;
@@ -13,7 +13,7 @@
13
13
  }
14
14
  .flexiblePopupPanels .viewport .panel {
15
15
  padding: 0 var(--primitive-spacing-60) calc(var(--primitive-spacing-36) + (var(--primitive-spacing-18) * 1.75));
16
- height: calc(100vh - (var(--primitive-spacing-60) * 2 + 0rem * 2));
16
+ height: calc(100vh - (var(--primitive-spacing-60) * 2 + 0px * 2));
17
17
  }
18
18
  .flexiblePopupPanels .viewport.noNavButton .bodyLayout {
19
19
  padding-left: 0;
@@ -274,14 +274,26 @@
274
274
  width: 12.5rem;
275
275
  }
276
276
  .panel.small + .panel.large {
277
- left: calc(calc( var(--primitive-spacing-60) + var(--primitive-spacing-60) + 12.5rem + var(--primitive-spacing-60) + var(--primitive-spacing-60) ) * -1);
277
+ left: calc(calc(
278
+ var(--primitive-spacing-60)
279
+ + var(--primitive-spacing-60)
280
+ + 600px
281
+ + var(--primitive-spacing-60)
282
+ + var(--primitive-spacing-60)
283
+ ) * -1);
278
284
  }
279
285
  .panel.large .content,
280
286
  .panel.large .header {
281
287
  width: 27.5rem;
282
288
  }
283
289
  .panel.large + .panel.small {
284
- left: calc(calc( var(--primitive-spacing-60) + var(--primitive-spacing-60) + 27.5rem + var(--primitive-spacing-60) + var(--primitive-spacing-60) ));
290
+ left: calc(calc(
291
+ var(--primitive-spacing-60)
292
+ + var(--primitive-spacing-60)
293
+ + 1320px
294
+ + var(--primitive-spacing-60)
295
+ + var(--primitive-spacing-60)
296
+ ));
285
297
  }
286
298
  :global(.enact-locale-right-to-left) .panel > .body {
287
299
  direction: ltr;
@@ -1,7 +1,7 @@
1
1
  // Type definitions for limestone/FlexiblePopupPanels
2
2
 
3
- import { HeaderProps as limestone_Panels_HeaderProps } from "limestone/Panels";
4
- import { PanelProps as limestone_Panels_PanelProps } from "limestone/Panels";
3
+ import { HeaderProps as limestone_Panels_HeaderProps } from "@enact/limestone/Panels";
4
+ import { PanelProps as limestone_Panels_PanelProps } from "@enact/limestone/Panels";
5
5
  import * as React from "react";
6
6
 
7
7
  type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
@@ -1,7 +1,7 @@
1
1
  // Type definitions for limestone/FormCheckboxItem
2
2
 
3
3
  import { ToggleableProps as ui_Toggleable_ToggleableProps } from "@enact/ui/Toggleable";
4
- import { ItemProps as limestone_Item_ItemProps } from "limestone/Item";
4
+ import { ItemProps as limestone_Item_ItemProps } from "@enact/limestone/Item";
5
5
  import * as React from "react";
6
6
 
7
7
  type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
@@ -23,6 +23,7 @@ var _excluded = ["children", "css", "icon", "indeterminate", "indeterminateIcon"
23
23
  * @example
24
24
  * <FormCheckboxItem>A Checkbox for a form</FormCheckboxItem>
25
25
  *
26
+ * @deprecated Will be removed in 2.0.0. Use {@link limestone/CheckboxItem} instead.
26
27
  * @module limestone/FormCheckboxItem
27
28
  * @exports FormCheckboxItem
28
29
  * @exports FormCheckboxItemBase