@sipesistemas/polaris 1.2.2 → 1.2.4

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 (29) hide show
  1. package/build/cjs/components/Navigation/components/Item/Item.js +0 -1
  2. package/build/cjs/components/TopBar/TopBar.css.js +2 -2
  3. package/build/cjs/components/TopBar/TopBar.js +7 -12
  4. package/build/cjs/components/TopBar/components/ActionButton/ActionButton.js +27 -0
  5. package/build/esm/components/Navigation/components/Item/Item.js +0 -1
  6. package/build/esm/components/TopBar/TopBar.css.js +2 -2
  7. package/build/esm/components/TopBar/TopBar.js +8 -13
  8. package/build/esm/components/TopBar/components/ActionButton/ActionButton.js +25 -0
  9. package/build/esm/styles.css +18 -18
  10. package/build/esnext/components/AppProvider/global.out.css +1 -1
  11. package/build/esnext/components/Navigation/components/Item/Item.esnext +0 -1
  12. package/build/esnext/components/TopBar/TopBar.css.esnext +2 -2
  13. package/build/esnext/components/TopBar/TopBar.esnext +8 -13
  14. package/build/esnext/components/TopBar/TopBar.out.css +17 -17
  15. package/build/esnext/components/TopBar/components/ActionButton/ActionButton.esnext +25 -0
  16. package/build/ts/src/components/Navigation/components/Item/Item.d.ts.map +1 -1
  17. package/build/ts/src/components/Page/components/Header/Header.d.ts +1 -4
  18. package/build/ts/src/components/Page/components/Header/Header.d.ts.map +1 -1
  19. package/build/ts/src/components/Page/components/Header/components/Title/Title.d.ts +1 -4
  20. package/build/ts/src/components/Page/components/Header/components/Title/Title.d.ts.map +1 -1
  21. package/build/ts/src/components/TopBar/TopBar.d.ts +7 -5
  22. package/build/ts/src/components/TopBar/TopBar.d.ts.map +1 -1
  23. package/build/ts/src/components/TopBar/components/ActionButton/ActionButton.d.ts +11 -0
  24. package/build/ts/src/components/TopBar/components/ActionButton/ActionButton.d.ts.map +1 -0
  25. package/build/ts/src/components/TopBar/components/ActionButton/index.d.ts +3 -0
  26. package/build/ts/src/components/TopBar/components/ActionButton/index.d.ts.map +1 -0
  27. package/build/ts/src/components/TopBar/components/index.d.ts +1 -0
  28. package/build/ts/src/components/TopBar/components/index.d.ts.map +1 -1
  29. package/package.json +1 -1
@@ -250,7 +250,6 @@ function Item({
250
250
  event.preventDefault();
251
251
  }
252
252
  if (subNavigationItems && subNavigationItems.length > 0 && isNavigationCollapsed) {
253
- event.preventDefault();
254
253
  onToggleExpandedState?.();
255
254
  } else if (onNavigationDismiss) {
256
255
  onNavigationDismiss();
@@ -18,8 +18,8 @@ var styles = {
18
18
  "LeftContent": "Polaris-TopBar__LeftContent",
19
19
  "Search": "Polaris-TopBar__Search",
20
20
  "RightContent": "Polaris-TopBar__RightContent",
21
- "HelpActivatorWrapper": "Polaris-TopBar__HelpActivatorWrapper",
22
- "HelpActivator": "Polaris-TopBar__HelpActivator",
21
+ "ActionWrapper": "Polaris-TopBar__ActionWrapper",
22
+ "ActionButton": "Polaris-TopBar__ActionButton",
23
23
  "SecondaryMenu": "Polaris-TopBar__SecondaryMenu"
24
24
  };
25
25
 
@@ -8,6 +8,7 @@ var TopBar_module = require('./TopBar.css.js');
8
8
  var jsxRuntime = require('react/jsx-runtime');
9
9
  var SearchField = require('./components/SearchField/SearchField.js');
10
10
  var UserMenu = require('./components/UserMenu/UserMenu.js');
11
+ var ActionButton = require('./components/ActionButton/ActionButton.js');
11
12
  var Search = require('./components/Search/Search.js');
12
13
  var hooks = require('../../utilities/i18n/hooks.js');
13
14
  var hooks$1 = require('../../utilities/frame/hooks.js');
@@ -30,7 +31,7 @@ const TopBar = function TopBar({
30
31
  searchResultsVisible,
31
32
  searchResultsOverlayVisible = false,
32
33
  onNavigationToggle,
33
- onHelpToggle,
34
+ actions,
34
35
  onSearchResultsDismiss,
35
36
  contextControl,
36
37
  logoSuffix
@@ -107,17 +108,10 @@ const TopBar = function TopBar({
107
108
  children: searchMarkup
108
109
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
109
110
  className: TopBar_module.default.RightContent,
110
- children: [onHelpToggle && /*#__PURE__*/jsxRuntime.jsx("div", {
111
- className: TopBar_module.default.HelpActivatorWrapper,
112
- children: /*#__PURE__*/jsxRuntime.jsx("button", {
113
- type: "button",
114
- className: css.classNames(TopBar_module.default.HelpActivator, userMenu && TopBar_module.default['Activator-userMenu']),
115
- onClick: onHelpToggle,
116
- children: /*#__PURE__*/jsxRuntime.jsx(Icon.Icon, {
117
- source: polarisIcons.QuestionCircleIcon
118
- })
119
- })
120
- }), /*#__PURE__*/jsxRuntime.jsx("div", {
111
+ children: [actions?.map((action, index) => /*#__PURE__*/jsxRuntime.jsx("div", {
112
+ className: TopBar_module.default.ActionWrapper,
113
+ children: action
114
+ }, index)), /*#__PURE__*/jsxRuntime.jsx("div", {
121
115
  className: TopBar_module.default.SecondaryMenu,
122
116
  children: secondaryMenu
123
117
  }), userMenu]
@@ -128,5 +122,6 @@ const TopBar = function TopBar({
128
122
  TopBar.Menu = Menu.Menu;
129
123
  TopBar.SearchField = SearchField.SearchField;
130
124
  TopBar.UserMenu = UserMenu.UserMenu;
125
+ TopBar.ActionButton = ActionButton.ActionButton;
131
126
 
132
127
  exports.TopBar = TopBar;
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+
3
+ var TopBar_module = require('../../TopBar.css.js');
4
+ var jsxRuntime = require('react/jsx-runtime');
5
+ var Icon = require('../../../Icon/Icon.js');
6
+ var Text = require('../../../Text/Text.js');
7
+
8
+ function ActionButton({
9
+ icon,
10
+ accessibilityLabel,
11
+ onClick
12
+ }) {
13
+ return /*#__PURE__*/jsxRuntime.jsxs("button", {
14
+ type: "button",
15
+ className: TopBar_module.default.ActionButton,
16
+ onClick: onClick,
17
+ children: [/*#__PURE__*/jsxRuntime.jsx(Icon.Icon, {
18
+ source: icon
19
+ }), /*#__PURE__*/jsxRuntime.jsx(Text.Text, {
20
+ as: "span",
21
+ visuallyHidden: true,
22
+ children: accessibilityLabel
23
+ })]
24
+ });
25
+ }
26
+
27
+ exports.ActionButton = ActionButton;
@@ -248,7 +248,6 @@ function Item({
248
248
  event.preventDefault();
249
249
  }
250
250
  if (subNavigationItems && subNavigationItems.length > 0 && isNavigationCollapsed) {
251
- event.preventDefault();
252
251
  onToggleExpandedState?.();
253
252
  } else if (onNavigationDismiss) {
254
253
  onNavigationDismiss();
@@ -14,8 +14,8 @@ var styles = {
14
14
  "LeftContent": "Polaris-TopBar__LeftContent",
15
15
  "Search": "Polaris-TopBar__Search",
16
16
  "RightContent": "Polaris-TopBar__RightContent",
17
- "HelpActivatorWrapper": "Polaris-TopBar__HelpActivatorWrapper",
18
- "HelpActivator": "Polaris-TopBar__HelpActivator",
17
+ "ActionWrapper": "Polaris-TopBar__ActionWrapper",
18
+ "ActionButton": "Polaris-TopBar__ActionButton",
19
19
  "SecondaryMenu": "Polaris-TopBar__SecondaryMenu"
20
20
  };
21
21
 
@@ -1,4 +1,4 @@
1
- import { MenuIcon, QuestionCircleIcon } from '@shopify/polaris-icons';
1
+ import { MenuIcon } from '@shopify/polaris-icons';
2
2
  import { classNames } from '../../utilities/css.js';
3
3
  import { getWidth } from '../../utilities/get-width.js';
4
4
  import { useToggle } from '../../utilities/use-toggle.js';
@@ -6,6 +6,7 @@ import styles from './TopBar.css.js';
6
6
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
7
  import { SearchField } from './components/SearchField/SearchField.js';
8
8
  import { UserMenu } from './components/UserMenu/UserMenu.js';
9
+ import { ActionButton } from './components/ActionButton/ActionButton.js';
9
10
  import { Search } from './components/Search/Search.js';
10
11
  import { useI18n } from '../../utilities/i18n/hooks.js';
11
12
  import { useFrame } from '../../utilities/frame/hooks.js';
@@ -28,7 +29,7 @@ const TopBar = function TopBar({
28
29
  searchResultsVisible,
29
30
  searchResultsOverlayVisible = false,
30
31
  onNavigationToggle,
31
- onHelpToggle,
32
+ actions,
32
33
  onSearchResultsDismiss,
33
34
  contextControl,
34
35
  logoSuffix
@@ -105,17 +106,10 @@ const TopBar = function TopBar({
105
106
  children: searchMarkup
106
107
  }), /*#__PURE__*/jsxs("div", {
107
108
  className: styles.RightContent,
108
- children: [onHelpToggle && /*#__PURE__*/jsx("div", {
109
- className: styles.HelpActivatorWrapper,
110
- children: /*#__PURE__*/jsx("button", {
111
- type: "button",
112
- className: classNames(styles.HelpActivator, userMenu && styles['Activator-userMenu']),
113
- onClick: onHelpToggle,
114
- children: /*#__PURE__*/jsx(Icon, {
115
- source: QuestionCircleIcon
116
- })
117
- })
118
- }), /*#__PURE__*/jsx("div", {
109
+ children: [actions?.map((action, index) => /*#__PURE__*/jsx("div", {
110
+ className: styles.ActionWrapper,
111
+ children: action
112
+ }, index)), /*#__PURE__*/jsx("div", {
119
113
  className: styles.SecondaryMenu,
120
114
  children: secondaryMenu
121
115
  }), userMenu]
@@ -126,5 +120,6 @@ const TopBar = function TopBar({
126
120
  TopBar.Menu = Menu;
127
121
  TopBar.SearchField = SearchField;
128
122
  TopBar.UserMenu = UserMenu;
123
+ TopBar.ActionButton = ActionButton;
129
124
 
130
125
  export { TopBar };
@@ -0,0 +1,25 @@
1
+ import styles from '../../TopBar.css.js';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { Icon } from '../../../Icon/Icon.js';
4
+ import { Text } from '../../../Text/Text.js';
5
+
6
+ function ActionButton({
7
+ icon,
8
+ accessibilityLabel,
9
+ onClick
10
+ }) {
11
+ return /*#__PURE__*/jsxs("button", {
12
+ type: "button",
13
+ className: styles.ActionButton,
14
+ onClick: onClick,
15
+ children: [/*#__PURE__*/jsx(Icon, {
16
+ source: icon
17
+ }), /*#__PURE__*/jsx(Text, {
18
+ as: "span",
19
+ visuallyHidden: true,
20
+ children: accessibilityLabel
21
+ })]
22
+ });
23
+ }
24
+
25
+ export { ActionButton };
@@ -3456,7 +3456,7 @@
3456
3456
  @keyframes p-motion-keyframes-appear-below{ from{ transform:translateY(calc(var(--p-space-100)*-1)); opacity:0; } to{ transform:none; opacity:1; } }
3457
3457
 
3458
3458
  :root{
3459
- --polaris-version-number:'1.2.2';
3459
+ --polaris-version-number:'1.2.4';
3460
3460
 
3461
3461
  --pg-navigation-width:15rem;
3462
3462
  --pg-dangerous-magic-space-4:1rem;
@@ -15704,13 +15704,13 @@ body{
15704
15704
  justify-content:flex-end;
15705
15705
  }
15706
15706
 
15707
- .Polaris-TopBar__HelpActivatorWrapper{
15707
+ .Polaris-TopBar__ActionWrapper{
15708
15708
  height:var(--pg-top-bar-height);
15709
15709
  display:flex;
15710
15710
  align-items:center;
15711
15711
  }
15712
15712
 
15713
- .Polaris-TopBar__HelpActivator{
15713
+ .Polaris-TopBar__ActionButton{
15714
15714
  -webkit-appearance:none;
15715
15715
  appearance:none;
15716
15716
  margin:0;
@@ -15738,11 +15738,11 @@ body{
15738
15738
  background-color:var(--p-color-bg-fill-inverse);
15739
15739
  }
15740
15740
 
15741
- .Polaris-TopBar__HelpActivator:focus{
15741
+ .Polaris-TopBar__ActionButton:focus{
15742
15742
  outline:none;
15743
15743
  }
15744
15744
 
15745
- .Polaris-TopBar__HelpActivator::after {
15745
+ .Polaris-TopBar__ActionButton::after {
15746
15746
  content: '';
15747
15747
  position: absolute;
15748
15748
  z-index: 1;
@@ -15756,50 +15756,50 @@ body{
15756
15756
  border-radius: var(--p-border-radius-100);
15757
15757
  }
15758
15758
 
15759
- .Polaris-TopBar__HelpActivator:focus{
15759
+ .Polaris-TopBar__ActionButton:focus{
15760
15760
  background-color:var(--p-color-bg-fill-inverse-hover);
15761
15761
  outline:none;
15762
15762
  }
15763
15763
 
15764
- .Polaris-TopBar__HelpActivator:focus-visible{
15764
+ .Polaris-TopBar__ActionButton:focus-visible{
15765
15765
  outline:var(--p-border-width-050) solid var(--p-color-border-focus);
15766
15766
  outline-offset:var(--p-space-050);
15767
15767
  }
15768
15768
 
15769
- .Polaris-TopBar__HelpActivator:focus-visible::after{
15769
+ .Polaris-TopBar__ActionButton:focus-visible::after{
15770
15770
  content:none;
15771
15771
  }
15772
15772
 
15773
- .Polaris-TopBar__HelpActivator:hover{
15773
+ .Polaris-TopBar__ActionButton:hover{
15774
15774
  background-color:var(--p-color-bg-fill-inverse-hover);
15775
15775
  }
15776
15776
 
15777
- .Polaris-TopBar__HelpActivator:active,
15778
- .Polaris-TopBar__HelpActivator[aria-expanded='true']{
15777
+ .Polaris-TopBar__ActionButton:active,
15778
+ .Polaris-TopBar__ActionButton[aria-expanded='true']{
15779
15779
  background-color:var(--p-color-bg-fill-inverse-active);
15780
15780
  outline:none;
15781
15781
  transition:none;
15782
15782
  }
15783
15783
 
15784
- .Polaris-TopBar__HelpActivator:active::after, .Polaris-TopBar__HelpActivator[aria-expanded='true']::after{
15784
+ .Polaris-TopBar__ActionButton:active::after, .Polaris-TopBar__ActionButton[aria-expanded='true']::after{
15785
15785
  border:none;
15786
15786
  }
15787
15787
 
15788
- .Polaris-TopBar__HelpActivator:active p, .Polaris-TopBar__HelpActivator[aria-expanded='true'] p{
15788
+ .Polaris-TopBar__ActionButton:active p, .Polaris-TopBar__ActionButton[aria-expanded='true'] p{
15789
15789
  color:var(--p-color-text-inverse);
15790
15790
  }
15791
15791
 
15792
15792
  @media (max-width: 47.9975em){
15793
15793
 
15794
- .Polaris-TopBar__HelpActivator{
15794
+ .Polaris-TopBar__ActionButton{
15795
15795
  margin-right:var(--p-space-200);
15796
15796
  background-color:var(--p-color-bg-inverse);
15797
15797
  }
15798
15798
 
15799
- .Polaris-TopBar__HelpActivator:focus,
15800
- .Polaris-TopBar__HelpActivator:hover,
15801
- .Polaris-TopBar__HelpActivator:active,
15802
- .Polaris-TopBar__HelpActivator[aria-expanded='true']{
15799
+ .Polaris-TopBar__ActionButton:focus,
15800
+ .Polaris-TopBar__ActionButton:hover,
15801
+ .Polaris-TopBar__ActionButton:active,
15802
+ .Polaris-TopBar__ActionButton[aria-expanded='true']{
15803
15803
  opacity:0.85;
15804
15804
  }
15805
15805
  }
@@ -21,7 +21,7 @@
21
21
  @keyframes p-motion-keyframes-appear-below{ from{ transform:translateY(calc(var(--p-space-100)*-1)); opacity:0; } to{ transform:none; opacity:1; } }
22
22
 
23
23
  :root{
24
- --polaris-version-number:'1.2.2';
24
+ --polaris-version-number:'1.2.4';
25
25
 
26
26
  --pg-navigation-width:15rem;
27
27
  --pg-dangerous-magic-space-4:1rem;
@@ -248,7 +248,6 @@ function Item({
248
248
  event.preventDefault();
249
249
  }
250
250
  if (subNavigationItems && subNavigationItems.length > 0 && isNavigationCollapsed) {
251
- event.preventDefault();
252
251
  onToggleExpandedState?.();
253
252
  } else if (onNavigationDismiss) {
254
253
  onNavigationDismiss();
@@ -16,8 +16,8 @@ var styles = {
16
16
  "LeftContent": "Polaris-TopBar__LeftContent_1rxtg",
17
17
  "Search": "Polaris-TopBar__Search_q76sw",
18
18
  "RightContent": "Polaris-TopBar__RightContent_1e3it",
19
- "HelpActivatorWrapper": "Polaris-TopBar__HelpActivatorWrapper_1kens",
20
- "HelpActivator": "Polaris-TopBar__HelpActivator_11bev",
19
+ "ActionWrapper": "Polaris-TopBar__ActionWrapper_myboo",
20
+ "ActionButton": "Polaris-TopBar__ActionButton_x3u8t",
21
21
  "SecondaryMenu": "Polaris-TopBar__SecondaryMenu_7y4ay"
22
22
  };
23
23
 
@@ -1,4 +1,4 @@
1
- import { MenuIcon, QuestionCircleIcon } from '@shopify/polaris-icons';
1
+ import { MenuIcon } from '@shopify/polaris-icons';
2
2
  import { classNames } from '../../utilities/css.esnext';
3
3
  import { getWidth } from '../../utilities/get-width.esnext';
4
4
  import { useToggle } from '../../utilities/use-toggle.esnext';
@@ -6,6 +6,7 @@ import styles from './TopBar.css.esnext';
6
6
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
7
7
  import { SearchField } from './components/SearchField/SearchField.esnext';
8
8
  import { UserMenu } from './components/UserMenu/UserMenu.esnext';
9
+ import { ActionButton } from './components/ActionButton/ActionButton.esnext';
9
10
  import { Search } from './components/Search/Search.esnext';
10
11
  import { useI18n } from '../../utilities/i18n/hooks.esnext';
11
12
  import { useFrame } from '../../utilities/frame/hooks.esnext';
@@ -28,7 +29,7 @@ const TopBar = function TopBar({
28
29
  searchResultsVisible,
29
30
  searchResultsOverlayVisible = false,
30
31
  onNavigationToggle,
31
- onHelpToggle,
32
+ actions,
32
33
  onSearchResultsDismiss,
33
34
  contextControl,
34
35
  logoSuffix
@@ -105,17 +106,10 @@ const TopBar = function TopBar({
105
106
  children: searchMarkup
106
107
  }), /*#__PURE__*/jsxs("div", {
107
108
  className: styles.RightContent,
108
- children: [onHelpToggle && /*#__PURE__*/jsx("div", {
109
- className: styles.HelpActivatorWrapper,
110
- children: /*#__PURE__*/jsx("button", {
111
- type: "button",
112
- className: classNames(styles.HelpActivator, userMenu && styles['Activator-userMenu']),
113
- onClick: onHelpToggle,
114
- children: /*#__PURE__*/jsx(Icon, {
115
- source: QuestionCircleIcon
116
- })
117
- })
118
- }), /*#__PURE__*/jsx("div", {
109
+ children: [actions?.map((action, index) => /*#__PURE__*/jsx("div", {
110
+ className: styles.ActionWrapper,
111
+ children: action
112
+ }, index)), /*#__PURE__*/jsx("div", {
119
113
  className: styles.SecondaryMenu,
120
114
  children: secondaryMenu
121
115
  }), userMenu]
@@ -126,5 +120,6 @@ const TopBar = function TopBar({
126
120
  TopBar.Menu = Menu;
127
121
  TopBar.SearchField = SearchField;
128
122
  TopBar.UserMenu = UserMenu;
123
+ TopBar.ActionButton = ActionButton;
129
124
 
130
125
  export { TopBar };
@@ -188,13 +188,13 @@
188
188
  justify-content:flex-end;
189
189
  }
190
190
 
191
- .Polaris-TopBar__HelpActivatorWrapper_1kens{
191
+ .Polaris-TopBar__ActionWrapper_myboo{
192
192
  height:var(--pg-top-bar-height);
193
193
  display:flex;
194
194
  align-items:center;
195
195
  }
196
196
 
197
- .Polaris-TopBar__HelpActivator_11bev{
197
+ .Polaris-TopBar__ActionButton_x3u8t{
198
198
  -webkit-appearance:none;
199
199
  appearance:none;
200
200
  margin:0;
@@ -222,11 +222,11 @@
222
222
  background-color:var(--p-color-bg-fill-inverse);
223
223
  }
224
224
 
225
- .Polaris-TopBar__HelpActivator_11bev:focus{
225
+ .Polaris-TopBar__ActionButton_x3u8t:focus{
226
226
  outline:none;
227
227
  }
228
228
 
229
- .Polaris-TopBar__HelpActivator_11bev::after {
229
+ .Polaris-TopBar__ActionButton_x3u8t::after {
230
230
  content: '';
231
231
  position: absolute;
232
232
  z-index: 1;
@@ -240,50 +240,50 @@
240
240
  border-radius: var(--p-border-radius-100);
241
241
  }
242
242
 
243
- .Polaris-TopBar__HelpActivator_11bev:focus{
243
+ .Polaris-TopBar__ActionButton_x3u8t:focus{
244
244
  background-color:var(--p-color-bg-fill-inverse-hover);
245
245
  outline:none;
246
246
  }
247
247
 
248
- .Polaris-TopBar__HelpActivator_11bev:focus-visible{
248
+ .Polaris-TopBar__ActionButton_x3u8t:focus-visible{
249
249
  outline:var(--p-border-width-050) solid var(--p-color-border-focus);
250
250
  outline-offset:var(--p-space-050);
251
251
  }
252
252
 
253
- .Polaris-TopBar__HelpActivator_11bev:focus-visible::after{
253
+ .Polaris-TopBar__ActionButton_x3u8t:focus-visible::after{
254
254
  content:none;
255
255
  }
256
256
 
257
- .Polaris-TopBar__HelpActivator_11bev:hover{
257
+ .Polaris-TopBar__ActionButton_x3u8t:hover{
258
258
  background-color:var(--p-color-bg-fill-inverse-hover);
259
259
  }
260
260
 
261
- .Polaris-TopBar__HelpActivator_11bev:active,
262
- .Polaris-TopBar__HelpActivator_11bev[aria-expanded='true']{
261
+ .Polaris-TopBar__ActionButton_x3u8t:active,
262
+ .Polaris-TopBar__ActionButton_x3u8t[aria-expanded='true']{
263
263
  background-color:var(--p-color-bg-fill-inverse-active);
264
264
  outline:none;
265
265
  transition:none;
266
266
  }
267
267
 
268
- .Polaris-TopBar__HelpActivator_11bev:active::after, .Polaris-TopBar__HelpActivator_11bev[aria-expanded='true']::after{
268
+ .Polaris-TopBar__ActionButton_x3u8t:active::after, .Polaris-TopBar__ActionButton_x3u8t[aria-expanded='true']::after{
269
269
  border:none;
270
270
  }
271
271
 
272
- .Polaris-TopBar__HelpActivator_11bev:active p, .Polaris-TopBar__HelpActivator_11bev[aria-expanded='true'] p{
272
+ .Polaris-TopBar__ActionButton_x3u8t:active p, .Polaris-TopBar__ActionButton_x3u8t[aria-expanded='true'] p{
273
273
  color:var(--p-color-text-inverse);
274
274
  }
275
275
 
276
276
  @media (max-width: 47.9975em){
277
277
 
278
- .Polaris-TopBar__HelpActivator_11bev{
278
+ .Polaris-TopBar__ActionButton_x3u8t{
279
279
  margin-right:var(--p-space-200);
280
280
  background-color:var(--p-color-bg-inverse);
281
281
  }
282
282
 
283
- .Polaris-TopBar__HelpActivator_11bev:focus,
284
- .Polaris-TopBar__HelpActivator_11bev:hover,
285
- .Polaris-TopBar__HelpActivator_11bev:active,
286
- .Polaris-TopBar__HelpActivator_11bev[aria-expanded='true']{
283
+ .Polaris-TopBar__ActionButton_x3u8t:focus,
284
+ .Polaris-TopBar__ActionButton_x3u8t:hover,
285
+ .Polaris-TopBar__ActionButton_x3u8t:active,
286
+ .Polaris-TopBar__ActionButton_x3u8t[aria-expanded='true']{
287
287
  opacity:0.85;
288
288
  }
289
289
  }
@@ -0,0 +1,25 @@
1
+ import styles from '../../TopBar.css.esnext';
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { Icon } from '../../../Icon/Icon.esnext';
4
+ import { Text } from '../../../Text/Text.esnext';
5
+
6
+ function ActionButton({
7
+ icon,
8
+ accessibilityLabel,
9
+ onClick
10
+ }) {
11
+ return /*#__PURE__*/jsxs("button", {
12
+ type: "button",
13
+ className: styles.ActionButton,
14
+ onClick: onClick,
15
+ children: [/*#__PURE__*/jsx(Icon, {
16
+ source: icon
17
+ }), /*#__PURE__*/jsx(Text, {
18
+ as: "span",
19
+ visuallyHidden: true,
20
+ children: accessibilityLabel
21
+ })]
22
+ });
23
+ }
24
+
25
+ export { ActionButton };
@@ -1 +1 @@
1
- {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Navigation/components/Item/Item.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,SAAS,EAAkB,eAAe,EAAE,MAAM,aAAa,CAAA;AAI7E,eAAO,MAAM,qBAAqB,IAAI,CAAA;AAGtC,wBAAgB,IAAI,CAAC,EACnB,GAAG,EACH,IAAI,EAAE,QAAQ,EACd,eAAe,EACf,KAAK,EACL,kBAAuB,EACvB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,QAAQ,EACR,OAAO,EACP,kBAAkB,EAClB,QAAQ,EAAE,gBAAgB,EAC1B,KAAK,EACL,GAAG,EAAE,KAAK,EACV,OAAO,EACP,UAAU,EACV,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,qBAAqB,EACrB,QAAQ,EACR,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,KAAS,EACT,YAAY,EACZ,YAAY,GACb,EAAE,SAAS,2CAwRX;AAED,UAAU,wBAAyB,SAAQ,eAAe;IACxD,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,GAAG,EACH,IAAI,EACJ,kBAAkB,EAClB,OAAO,EACP,OAAO,EACP,QAAQ,EACR,QAAQ,GACT,EAAE,wBAAwB,2CA0B1B;AAED,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAoBpF"}
1
+ {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Navigation/components/Item/Item.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,SAAS,EAAkB,eAAe,EAAE,MAAM,aAAa,CAAA;AAI7E,eAAO,MAAM,qBAAqB,IAAI,CAAA;AAGtC,wBAAgB,IAAI,CAAC,EACnB,GAAG,EACH,IAAI,EAAE,QAAQ,EACd,eAAe,EACf,KAAK,EACL,kBAAuB,EACvB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,QAAQ,EACR,OAAO,EACP,kBAAkB,EAClB,QAAQ,EAAE,gBAAgB,EAC1B,KAAK,EACL,GAAG,EAAE,KAAK,EACV,OAAO,EACP,UAAU,EACV,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,qBAAqB,EACrB,QAAQ,EACR,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,KAAS,EACT,YAAY,EACZ,YAAY,GACb,EAAE,SAAS,2CAuRX;AAED,UAAU,wBAAyB,SAAQ,eAAe;IACxD,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,GAAG,EACH,IAAI,EACJ,kBAAkB,EAClB,OAAO,EACP,OAAO,EACP,QAAQ,EACR,QAAQ,GACT,EAAE,wBAAwB,2CA0B1B;AAED,wBAAgB,sBAAsB,CAAC,cAAc,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAoBpF"}
@@ -18,10 +18,7 @@ export interface HeaderProps extends TitleProps {
18
18
  primaryAction?: PrimaryAction | React.ReactNode;
19
19
  /** Page-level pagination */
20
20
  pagination?: PaginationProps;
21
- /**
22
- * @deprecated A back action link
23
- * Use `breadcrumbs` prop instead as documented [here](https://shopify.dev/docs/api/app-bridge/previous-versions/actions/titlebar#using-titlebar-with-polaris)
24
- */
21
+ /** A back action link */
25
22
  backAction?: BreadcrumbsProps['backAction'];
26
23
  /** Collection of secondary page-level actions */
27
24
  secondaryActions?: MenuActionDescriptor[] | React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Page/components/Header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACd,MAAM,mBAAmB,CAAA;AAU1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAK5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAM1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAI9C,UAAU,aAAc,SAAQ,kBAAkB,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa;IAClH,yFAAyF;IACzF,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,8BAA8B;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,0HAA0H;IAC1H,2BAA2B,CAAC,EAAE,MAAM,CAAA;IACpC,0CAA0C;IAC1C,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,gCAAgC;IAChC,aAAa,CAAC,EAAE,aAAa,GAAG,KAAK,CAAC,SAAS,CAAA;IAC/C,4BAA4B;IAC5B,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B;;;OAGG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAA;IAC3C,iDAAiD;IACjD,gBAAgB,CAAC,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC,SAAS,CAAA;IAC3D,2DAA2D;IAC3D,YAAY,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAEpC,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAA;IAC7C,6GAA6G;IAC7G,cAAc,CAAC,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,CAAA;CAC5C;AAMD,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,QAAQ,EACR,2BAA2B,EAC3B,aAAa,EACb,kBAAkB,EAClB,WAAmB,EACnB,aAAa,EACb,UAAU,EACV,aAAa,EACb,UAAU,EACV,gBAAqB,EACrB,YAAiB,EACjB,YAAoB,EACpB,cAAc,GACf,EAAE,WAAW,2CAgKb"}
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Page/components/Header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACd,MAAM,mBAAmB,CAAA;AAU1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAK5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAM1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAI9C,UAAU,aAAc,SAAQ,kBAAkB,EAAE,iBAAiB,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa;IAClH,yFAAyF;IACzF,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,8BAA8B;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,0HAA0H;IAC1H,2BAA2B,CAAC,EAAE,MAAM,CAAA;IACpC,0CAA0C;IAC1C,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,gCAAgC;IAChC,aAAa,CAAC,EAAE,aAAa,GAAG,KAAK,CAAC,SAAS,CAAA;IAC/C,4BAA4B;IAC5B,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,yBAAyB;IACzB,UAAU,CAAC,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAA;IAC3C,iDAAiD;IACjD,gBAAgB,CAAC,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC,SAAS,CAAA;IAC3D,2DAA2D;IAC3D,YAAY,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAEpC,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAA;IAC7C,6GAA6G;IAC7G,cAAc,CAAC,CAAC,WAAW,EAAE,OAAO,GAAG,IAAI,CAAA;CAC5C;AAMD,wBAAgB,MAAM,CAAC,EACrB,KAAK,EACL,QAAQ,EACR,2BAA2B,EAC3B,aAAa,EACb,kBAAkB,EAClB,WAAmB,EACnB,aAAa,EACb,UAAU,EACV,aAAa,EACb,UAAU,EACV,gBAAqB,EACrB,YAAiB,EACjB,YAAoB,EACpB,cAAc,GACf,EAAE,WAAW,2CAgKb"}
@@ -1,9 +1,6 @@
1
1
  import type React from 'react';
2
2
  export interface TitleProps {
3
- /**
4
- * @deprecated Page title, in large type
5
- * Use `breadcrumbs` prop instead as documented [here](https://shopify.dev/docs/api/app-bridge/previous-versions/actions/titlebar#using-titlebar-with-polaris)
6
- */
3
+ /** Page title, in large type */
7
4
  title?: string;
8
5
  /** Page subtitle, in regular type */
9
6
  subtitle?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Page/components/Header/components/Title/Title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,sEAAsE;IACtE,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC/B,iDAAiD;IACjD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;6CAEyC;IACzC,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B;AAED,wBAAgB,KAAK,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,mBAAmB,EAAE,EAAE,UAAU,2CAwCtG"}
1
+ {"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/components/Page/components/Header/components/Title/Title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,MAAM,WAAW,UAAU;IACzB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,sEAAsE;IACtE,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC/B,iDAAiD;IACjD,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB;;6CAEyC;IACzC,mBAAmB,CAAC,EAAE,OAAO,CAAA;CAC9B;AAED,wBAAgB,KAAK,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,mBAAmB,EAAE,EAAE,UAAU,2CAwCtG"}
@@ -1,7 +1,7 @@
1
1
  import type React from 'react';
2
- import { Menu, SearchField, UserMenu } from './components';
3
- import type { SearchFieldProps, SearchProps, UserMenuProps } from './components';
4
- export type { UserMenuProps, SearchFieldProps };
2
+ import { ActionButton, Menu, SearchField, UserMenu } from './components';
3
+ import type { ActionButtonProps, SearchFieldProps, SearchProps, UserMenuProps } from './components';
4
+ export type { UserMenuProps, SearchFieldProps, ActionButtonProps };
5
5
  export interface TopBarProps {
6
6
  /** Toggles whether or not a navigation component has been provided. Controls the presence of the mobile nav toggle button */
7
7
  showNavigationToggle?: boolean;
@@ -23,8 +23,9 @@ export interface TopBarProps {
23
23
  onSearchResultsDismiss?: SearchProps['onDismiss'];
24
24
  /** A callback function that handles hiding and showing mobile navigation */
25
25
  onNavigationToggle?(): void;
26
- /** A callback function that handles the help button click. */
27
- onHelpToggle?(): void;
26
+ /** A list of action elements rendered in the right content area, before secondaryMenu and userMenu.
27
+ * Each element can be a TopBar.Menu for popover menus, or any ReactNode for simple icon buttons. */
28
+ actions?: React.ReactNode[];
28
29
  /** Accepts a component that is used to supplement the logo markup */
29
30
  logoSuffix?: React.ReactNode;
30
31
  }
@@ -32,5 +33,6 @@ export declare const TopBar: React.FunctionComponent<TopBarProps> & {
32
33
  Menu: typeof Menu;
33
34
  SearchField: typeof SearchField;
34
35
  UserMenu: typeof UserMenu;
36
+ ActionButton: typeof ActionButton;
35
37
  };
36
38
  //# sourceMappingURL=TopBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/TopBar/TopBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAY9B,OAAO,EAAE,IAAI,EAAU,WAAW,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAEhF,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAA;AAE/C,MAAM,WAAW,WAAW;IAC1B,6HAA6H;IAC7H,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,kIAAkI;IAClI,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,kGAAkG;IAClG,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC/B,uFAAuF;IACvF,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAChC,sHAAsH;IACtH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,qIAAqI;IACrI,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC/B,kFAAkF;IAClF,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,uEAAuE;IACvE,2BAA2B,CAAC,EAAE,OAAO,CAAA;IACrC,uEAAuE;IACvE,sBAAsB,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAA;IACjD,4EAA4E;IAC5E,kBAAkB,CAAC,IAAI,IAAI,CAAA;IAC3B,8DAA8D;IAC9D,YAAY,CAAC,IAAI,IAAI,CAAA;IACrB,qEAAqE;IACrE,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC7B;AAOD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,GAAG;IAC1D,IAAI,EAAE,OAAO,IAAI,CAAA;IACjB,WAAW,EAAE,OAAO,WAAW,CAAA;IAC/B,QAAQ,EAAE,OAAO,QAAQ,CAAA;CAqG1B,CAAA"}
1
+ {"version":3,"file":"TopBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/TopBar/TopBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAY9B,OAAO,EAAE,YAAY,EAAE,IAAI,EAAU,WAAW,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAChF,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAEnG,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,CAAA;AAElE,MAAM,WAAW,WAAW;IAC1B,6HAA6H;IAC7H,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,kIAAkI;IAClI,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,kGAAkG;IAClG,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC/B,uFAAuF;IACvF,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAChC,sHAAsH;IACtH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC7B,qIAAqI;IACrI,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC/B,kFAAkF;IAClF,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,uEAAuE;IACvE,2BAA2B,CAAC,EAAE,OAAO,CAAA;IACrC,uEAAuE;IACvE,sBAAsB,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAA;IACjD,4EAA4E;IAC5E,kBAAkB,CAAC,IAAI,IAAI,CAAA;IAC3B;wGACoG;IACpG,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IAC3B,qEAAqE;IACrE,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC7B;AAOD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,GAAG;IAC1D,IAAI,EAAE,OAAO,IAAI,CAAA;IACjB,WAAW,EAAE,OAAO,WAAW,CAAA;IAC/B,QAAQ,EAAE,OAAO,QAAQ,CAAA;IACzB,YAAY,EAAE,OAAO,YAAY,CAAA;CAiGlC,CAAA"}
@@ -0,0 +1,11 @@
1
+ import type { IconSource } from "@sipesistemas/polaris";
2
+ export interface ActionButtonProps {
3
+ /** Icon to display inside the button */
4
+ icon: IconSource;
5
+ /** Accessible label for the button (visually hidden) */
6
+ accessibilityLabel: string;
7
+ /** Callback when the button is clicked */
8
+ onClick(): void;
9
+ }
10
+ export declare function ActionButton({ icon, accessibilityLabel, onClick }: ActionButtonProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=ActionButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/TopBar/components/ActionButton/ActionButton.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AAEtD,MAAM,WAAW,iBAAiB;IAChC,wCAAwC;IACxC,IAAI,EAAE,UAAU,CAAA;IAChB,wDAAwD;IACxD,kBAAkB,EAAE,MAAM,CAAA;IAC1B,0CAA0C;IAC1C,OAAO,IAAI,IAAI,CAAA;CAChB;AAED,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,EAAE,EAAE,iBAAiB,2CASpF"}
@@ -0,0 +1,3 @@
1
+ export { ActionButton } from './ActionButton';
2
+ export type { ActionButtonProps } from './ActionButton';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/TopBar/components/ActionButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA"}
@@ -1,3 +1,4 @@
1
+ export * from './ActionButton';
1
2
  export * from './Search';
2
3
  export * from './SearchField';
3
4
  export * from './SearchDismissOverlay';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TopBar/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AAExB,cAAc,eAAe,CAAA;AAE7B,cAAc,wBAAwB,CAAA;AAEtC,cAAc,YAAY,CAAA;AAE1B,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TopBar/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAE9B,cAAc,UAAU,CAAA;AAExB,cAAc,eAAe,CAAA;AAE7B,cAAc,wBAAwB,CAAA;AAEtC,cAAc,YAAY,CAAA;AAE1B,cAAc,QAAQ,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sipesistemas/polaris",
3
3
  "description": "sspp product component library",
4
- "version": "1.2.2",
4
+ "version": "1.2.4",
5
5
  "private": false,
6
6
  "author": "SSPP <dev@sipesistemas.com>",
7
7
  "repository": "https://github.com/sipesistemas/ui",