@7shifts/sous-chef 4.7.1 → 4.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/empty_states/EmptyState/EmptyState.d.ts +3 -0
- package/dist/empty_states/Paywall/Paywall.d.ts +3 -0
- package/dist/feedback/CircularProgress/CircularProgress.d.ts +3 -0
- package/dist/feedback/InlineBanner/InlineBanner.d.ts +3 -0
- package/dist/feedback/MicroBanner/MicroBanner.d.ts +3 -0
- package/dist/feedback/PersistentBanner/PersistentBanner.d.ts +3 -0
- package/dist/feedback/ProgressBar/ProgressBar.d.ts +3 -0
- package/dist/feedback/Skeleton/Skeleton.d.ts +3 -0
- package/dist/forms/ColorField/ColorField.d.ts +3 -0
- package/dist/forms/FormFeedback/FormFeedback.d.ts +3 -0
- package/dist/forms/FormFooter/FormFooter.d.ts +3 -0
- package/dist/forms/FormSection/FormSection.d.ts +3 -0
- package/dist/forms/PhoneField/PhoneField.d.ts +3 -0
- package/dist/forms/TextField/TextField.d.ts +3 -1
- package/dist/forms/WeekSelectField/WeekSelectField.d.ts +3 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.js +99 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +99 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/layout/Card/Card.d.ts +3 -0
- package/dist/layout/Page/Page.d.ts +3 -0
- package/dist/lists/Accordion/Accordion.d.ts +3 -0
- package/dist/lists/ActionList/ActionList.d.ts +3 -0
- package/dist/lists/DataTable/DataTable.d.ts +3 -0
- package/dist/media/Avatar/Avatar.d.ts +3 -0
- package/dist/media/Badge/Badge.d.ts +4 -1
- package/dist/media/Chip/Chip.d.ts +3 -0
- package/dist/media/Pill/Pill.d.ts +3 -0
- package/dist/navigation/Breadcrumbs/Breadcrumbs.d.ts +3 -0
- package/dist/navigation/PrimaryNav/PrimaryNav.d.ts +3 -0
- package/dist/navigation/Tabs/Tabs.d.ts +3 -0
- package/dist/overlay/Calendar/Calendar.d.ts +3 -1
- package/dist/overlay/Dropdown/Dropdown.d.ts +3 -0
- package/dist/overlay/HintModal/HintModal.d.ts +3 -0
- package/dist/overlay/Modal/Modal.d.ts +3 -0
- package/dist/overlay/Popover/Popover.d.ts +3 -0
- package/dist/overlay/Tooltip/Tooltip.d.ts +3 -0
- package/llms-instructions/guidelines/AsyncSelectField.guidelines.md +20 -0
- package/llms-instructions/guidelines/Avatar.guidelines.md +1 -0
- package/llms-instructions/guidelines/Breadcrumbs.guidelines.md +1 -0
- package/llms-instructions/guidelines/CheckboxField.guidelines.md +20 -0
- package/llms-instructions/guidelines/ColorField.guidelines.md +18 -0
- package/llms-instructions/guidelines/CurrencyField.guidelines.md +28 -0
- package/llms-instructions/guidelines/DateField.guidelines.md +22 -0
- package/llms-instructions/guidelines/DateRangeField.guidelines.md +21 -0
- package/llms-instructions/guidelines/MultiSelectField.guidelines.md +22 -0
- package/llms-instructions/guidelines/NumberField.guidelines.md +29 -0
- package/llms-instructions/guidelines/PaginationControls.guidelines.md +1 -0
- package/llms-instructions/guidelines/PasswordField.guidelines.md +20 -0
- package/llms-instructions/guidelines/PercentageField.guidelines.md +22 -0
- package/llms-instructions/guidelines/PhoneField.guidelines.md +23 -0
- package/llms-instructions/guidelines/PillSelectField.guidelines.md +22 -0
- package/llms-instructions/guidelines/RadioGroupField.guidelines.md +20 -0
- package/llms-instructions/guidelines/SelectField.guidelines.md +24 -0
- package/llms-instructions/guidelines/Tabs.guidelines.md +4 -0
- package/llms-instructions/guidelines/TextAreaField.guidelines.md +25 -0
- package/llms-instructions/guidelines/TextField.guidelines.md +22 -0
- package/llms-instructions/guidelines/TimeField.guidelines.md +23 -0
- package/llms-instructions/guidelines/TimeRangeField.guidelines.md +19 -0
- package/llms-instructions/guidelines/WeekField.guidelines.md +20 -0
- package/llms-instructions/guidelines/WeekSelectField.guidelines.md +1 -0
- package/llms-instructions/llms-components.md +80 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -953,6 +953,9 @@ var TooltipElement = function TooltipElement(_ref, forwardedRef) {
|
|
|
953
953
|
ref: containerRef
|
|
954
954
|
}), children, overlayElement);
|
|
955
955
|
};
|
|
956
|
+
/**
|
|
957
|
+
* Tooltip is a small, non-interactive label that appears on hover to provide a brief explanation. It is the lightest overlay in the system — low interruption, no interaction, disappears when the user moves away. Its job is to add micro-clarity: explaining an icon, defining an abbreviation, or surfacing supplementary detail without cluttering the UI.
|
|
958
|
+
*/
|
|
956
959
|
var Tooltip = React.forwardRef(TooltipElement);
|
|
957
960
|
var isTooltipCompatible = function isTooltipCompatible(element) {
|
|
958
961
|
return React__default["default"].isValidElement(element) && typeof element.type === 'string';
|
|
@@ -11132,6 +11135,9 @@ var TimeFieldDropdownElement = function TimeFieldDropdownElement(_ref, ref) {
|
|
|
11132
11135
|
};
|
|
11133
11136
|
var TimeFieldDropdownTrigger = React.forwardRef(TimeFieldDropdownElement);
|
|
11134
11137
|
|
|
11138
|
+
/**
|
|
11139
|
+
* Dropdown is an overlay that reveals a list of actions or options when a user clicks or hovers a trigger element. It is the go-to pattern for contextual menus — things like "Edit, Duplicate, Delete" on a table row, or a set of filter options behind a button.
|
|
11140
|
+
*/
|
|
11135
11141
|
var Dropdown = function Dropdown(_ref) {
|
|
11136
11142
|
var trigger = _ref.trigger,
|
|
11137
11143
|
_ref$triggersOn = _ref.triggersOn,
|
|
@@ -11907,6 +11913,9 @@ var useCardContext = function useCardContext() {
|
|
|
11907
11913
|
};
|
|
11908
11914
|
|
|
11909
11915
|
var _excluded$bl = ["children", "onClick", "onClose", "isSelected", "disabled", "actions", "testId"];
|
|
11916
|
+
/**
|
|
11917
|
+
* Card is a versatile container that groups related content or options into a visually distinct surface. It's used to introduce visual separation between pieces of content without requiring a full page boundary. It is used to perceptually group content into a meaningful whole. Cards are simple container components that can hold whatever content the designer sees fit.
|
|
11918
|
+
*/
|
|
11910
11919
|
var Card = function Card(_ref) {
|
|
11911
11920
|
var _classnames, _classnames2, _classnames3, _classnames4;
|
|
11912
11921
|
var children = _ref.children,
|
|
@@ -12000,6 +12009,9 @@ var CalloutCard = function CalloutCard(_ref) {
|
|
|
12000
12009
|
}, React__default["default"].createElement(IconTimes, null)))));
|
|
12001
12010
|
};
|
|
12002
12011
|
|
|
12012
|
+
/**
|
|
12013
|
+
* Breadcrumbs show the user where they are in the app's hierarchy and let them navigate back up to a parent page. They appear at the top of a page when that page is reached by drilling into a deeper level of the product.
|
|
12014
|
+
*/
|
|
12003
12015
|
var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
12004
12016
|
var children = _ref.children;
|
|
12005
12017
|
return React__default["default"].createElement(Inline, {
|
|
@@ -12068,6 +12080,9 @@ var PAGE_SIZES = {
|
|
|
12068
12080
|
RESTRICTED: 'restricted'
|
|
12069
12081
|
};
|
|
12070
12082
|
|
|
12083
|
+
/**
|
|
12084
|
+
* Page component is used to control the elements within a page like breadcrumbs, title, subtitle, actions, banner, and filter bar.
|
|
12085
|
+
*/
|
|
12071
12086
|
var Page = function Page(_ref) {
|
|
12072
12087
|
var _classNames;
|
|
12073
12088
|
var children = _ref.children,
|
|
@@ -12155,6 +12170,9 @@ var useModalContext = function useModalContext() {
|
|
|
12155
12170
|
};
|
|
12156
12171
|
|
|
12157
12172
|
var _excluded$bk = ["children", "header", "subHeader", "onClose", "loading", "zIndex", "rootElementId", "width", "height", "maxWidth", "shouldReturnFocusAfterClose", "testId"];
|
|
12173
|
+
/**
|
|
12174
|
+
* Modal is a focused overlay that interrupts the current experience and demands the user's attention. It blocks all interaction with the rest of the page until the user responds — making it best suited for decisions, confirmations, and self-contained flows where that level of focus is warranted.
|
|
12175
|
+
*/
|
|
12158
12176
|
var Modal = function Modal(_ref) {
|
|
12159
12177
|
var children = _ref.children,
|
|
12160
12178
|
header = _ref.header,
|
|
@@ -12764,7 +12782,9 @@ var StarShape = function StarShape(_ref7) {
|
|
|
12764
12782
|
}));
|
|
12765
12783
|
};
|
|
12766
12784
|
|
|
12767
|
-
/**
|
|
12785
|
+
/**
|
|
12786
|
+
* Calendar is a date picker component that allows users to select a single day or a week. Used when you want to trigger it from a custom element such a button.
|
|
12787
|
+
*/
|
|
12768
12788
|
var Calendar = function Calendar(_ref) {
|
|
12769
12789
|
var _ref$mode = _ref.mode,
|
|
12770
12790
|
mode = _ref$mode === void 0 ? CALENDAR_MODE.DAY : _ref$mode,
|
|
@@ -13026,6 +13046,9 @@ var useLocalStorage = function useLocalStorage(key, initialValue) {
|
|
|
13026
13046
|
var styles$17 = {"hint-modal":"_NwD6V","hint-modal--after-open":"_4ofZb","hint-modal--before-close":"_hGoMD","hint-modal__overlay":"_iK5zl","hint-modal__image":"_V9hLa","hint-modal__body":"_oOqUg","hint-modal__close-button":"_5zcBK"};
|
|
13027
13047
|
|
|
13028
13048
|
var _excluded$bi = ["header", "children", "mediaUrl", "onClose", "modalId", "primaryButton", "secondaryButton", "testId", "onSetDoNotShowAgainStatus"];
|
|
13049
|
+
/**
|
|
13050
|
+
* Hint Modal is a lightweight modal used to surface tips, guidance, or onboarding callouts to users the first time they encounter a feature or page. Unlike a regular Modal, it is not triggered by a user action — it appears automatically when the user navigates somewhere that warrants a guided introduction. It includes a "Don't show this again" option so users can dismiss it permanently once they've absorbed the information.
|
|
13051
|
+
*/
|
|
13029
13052
|
var HintModal = function HintModal(_ref) {
|
|
13030
13053
|
var header = _ref.header,
|
|
13031
13054
|
children = _ref.children,
|
|
@@ -13126,6 +13149,9 @@ var HintModal = function HintModal(_ref) {
|
|
|
13126
13149
|
}, secondaryButtonUpdated, primaryButtonUpdated)))));
|
|
13127
13150
|
};
|
|
13128
13151
|
|
|
13152
|
+
/**
|
|
13153
|
+
* Popover is a contextual overlay "widget" that appears anchored to a trigger element and can contain rich, interactive content. It sits between a `Tooltip` and a `Modal` in terms of weight — less disruptive than a modal, but capable of real interaction unlike a tooltip. Use it when you need the user to take action in context, without pulling them away from what they were doing.
|
|
13154
|
+
*/
|
|
13129
13155
|
var Popover = function Popover(props) {
|
|
13130
13156
|
/**
|
|
13131
13157
|
* We are using the Dropdown component to implement the Popover component because they share a lot of the same functionality and structure.
|
|
@@ -13158,6 +13184,9 @@ var BadgeElement = function BadgeElement(_ref, forwardedRef) {
|
|
|
13158
13184
|
"data-testid": testId
|
|
13159
13185
|
}, otherProps), children));
|
|
13160
13186
|
};
|
|
13187
|
+
/**
|
|
13188
|
+
* Badge is a small circular indicator used to draw attention to something associated with another element — a count, a status, or a quick action.
|
|
13189
|
+
*/
|
|
13161
13190
|
var Badge = React.forwardRef(BadgeElement);
|
|
13162
13191
|
|
|
13163
13192
|
var MenuItem = function MenuItem(_ref) {
|
|
@@ -13758,6 +13787,9 @@ var InlineBannerIcon = function InlineBannerIcon(_ref) {
|
|
|
13758
13787
|
};
|
|
13759
13788
|
|
|
13760
13789
|
var _excluded$bg = ["children", "theme", "icon", "title", "onClose", "caption", "primaryButton", "secondaryButton", "testId"];
|
|
13790
|
+
/**
|
|
13791
|
+
* InlineBanner displays a contextual message inline within a page or section.
|
|
13792
|
+
*/
|
|
13761
13793
|
var InlineBanner = function InlineBanner(_ref) {
|
|
13762
13794
|
var _classnames, _classnames2, _classnames3;
|
|
13763
13795
|
var children = _ref.children,
|
|
@@ -13865,6 +13897,9 @@ var ButtonCTA = function ButtonCTA(_ref) {
|
|
|
13865
13897
|
};
|
|
13866
13898
|
|
|
13867
13899
|
var _excluded$bf = ["children", "theme", "icon", "hideIcon", "title", "primaryButton", "testId"];
|
|
13900
|
+
/**
|
|
13901
|
+
* MicroBanner is a compact notification component for tight spaces (like top bars).
|
|
13902
|
+
*/
|
|
13868
13903
|
var MicroBanner = function MicroBanner(_ref) {
|
|
13869
13904
|
var children = _ref.children,
|
|
13870
13905
|
_ref$theme = _ref.theme,
|
|
@@ -13915,6 +13950,9 @@ var PERSISTENT_BANNER_THEME = {
|
|
|
13915
13950
|
|
|
13916
13951
|
var styles$$ = {"persistent-banner":"_FsCJQ","persistent-banner--info":"_zt-xK","persistent-banner--danger":"_rmUys","persistent-banner--upsell":"_UGrRR","persistent-banner--warning":"_9eFhn","persistent-banner--success":"_hU34n"};
|
|
13917
13952
|
|
|
13953
|
+
/**
|
|
13954
|
+
* PersistentBanner displays a full-width message above the main navigation.
|
|
13955
|
+
*/
|
|
13918
13956
|
var PersistentBanner = function PersistentBanner(_ref) {
|
|
13919
13957
|
var _classNames;
|
|
13920
13958
|
var _ref$theme = _ref.theme,
|
|
@@ -14014,6 +14052,9 @@ var useProgress = function useProgress(progress, maxValue, getMetric) {
|
|
|
14014
14052
|
|
|
14015
14053
|
var styles$_ = {"circular-progress":"_UI0Fo","circular-progress__label":"_6PNwZ","circular-progress__track":"_alBLB","circular-progress__indicator":"_VADa6"};
|
|
14016
14054
|
|
|
14055
|
+
/**
|
|
14056
|
+
* CircularProgress displays a circular track that fills as a count advances toward a total.
|
|
14057
|
+
*/
|
|
14017
14058
|
var CircularProgress = function CircularProgress(_ref) {
|
|
14018
14059
|
var progress = _ref.progress,
|
|
14019
14060
|
_ref$maxValue = _ref.maxValue,
|
|
@@ -14050,6 +14091,9 @@ var CircularProgress = function CircularProgress(_ref) {
|
|
|
14050
14091
|
|
|
14051
14092
|
var styles$Z = {"progress-bar":"_fWvQF","progress-bar__indicator":"_vd0xc","progress-bar__indicator--complete":"_D9yNp","progress-bar__steps":"_8kdeO"};
|
|
14052
14093
|
|
|
14094
|
+
/**
|
|
14095
|
+
* ProgressBar shows a horizontal bar that fills as a task advances.
|
|
14096
|
+
*/
|
|
14053
14097
|
var ProgressBar = function ProgressBar(_ref) {
|
|
14054
14098
|
var _classNames;
|
|
14055
14099
|
var progress = _ref.progress,
|
|
@@ -14091,6 +14135,9 @@ var SKELETON_COMPONENT = {
|
|
|
14091
14135
|
};
|
|
14092
14136
|
|
|
14093
14137
|
var _excluded$be = ["as", "testId", "width", "height"];
|
|
14138
|
+
/**
|
|
14139
|
+
* Skeleton renders an animated placeholder that mirrors the shape of content while it is loading.
|
|
14140
|
+
*/
|
|
14094
14141
|
var Skeleton = function Skeleton(_ref) {
|
|
14095
14142
|
var _classnames;
|
|
14096
14143
|
var as = _ref.as,
|
|
@@ -14705,6 +14752,9 @@ var DataTableEmptyState = function DataTableEmptyState(_ref) {
|
|
|
14705
14752
|
};
|
|
14706
14753
|
|
|
14707
14754
|
var _excluded$bc = ["items", "columns", "itemComponent", "maxHeight", "hasPrevious", "hasNext", "onPreviousClick", "onNextClick", "onSort", "isLoading", "showActionMenu", "footerComponent", "hasVerticalBorders", "testId", "skeletonRowLayout", "stickyColumns", "emptyState"];
|
|
14755
|
+
/**
|
|
14756
|
+
* DataTable displays structured data in rows and columns. Use it when data is inherently tabular — each row represents a record and each column represents an attribute of that record.
|
|
14757
|
+
*/
|
|
14708
14758
|
var DataTable = function DataTable(_ref) {
|
|
14709
14759
|
var _classNames, _classNames2, _classNames3;
|
|
14710
14760
|
var items = _ref.items,
|
|
@@ -14905,6 +14955,9 @@ var AccordionItem = function AccordionItem(props) {
|
|
|
14905
14955
|
var styles$N = {"accordion":"_058SP"};
|
|
14906
14956
|
|
|
14907
14957
|
var _excluded$bb = ["items", "onExpand", "defaultOpenId"];
|
|
14958
|
+
/**
|
|
14959
|
+
* Accordion groups related content into a list of collapsible sections. Only one section can be open at a time, keeping the interface compact while still making all content accessible.
|
|
14960
|
+
*/
|
|
14908
14961
|
var Accordion = function Accordion(_ref) {
|
|
14909
14962
|
var items = _ref.items,
|
|
14910
14963
|
onExpand = _ref.onExpand,
|
|
@@ -14945,6 +14998,9 @@ var Accordion = function Accordion(_ref) {
|
|
|
14945
14998
|
|
|
14946
14999
|
var styles$M = {"action-list":"_pWke5","action-list__title":"_p8I7K","action-list__empty-state":"_l-tFB"};
|
|
14947
15000
|
|
|
15001
|
+
/**
|
|
15002
|
+
* A list of tasks or items that require user attention and can be completed with an action. Each item should have at least one clear action for the user to take.
|
|
15003
|
+
*/
|
|
14948
15004
|
var ActionList = function ActionList(_ref) {
|
|
14949
15005
|
var children = _ref.children,
|
|
14950
15006
|
testId = _ref.testId,
|
|
@@ -16073,6 +16129,9 @@ var styles$C = {"form--standard-size":"_8-Ykj"};
|
|
|
16073
16129
|
|
|
16074
16130
|
var styles$B = {"form-section":"_3uYIj","form-section__title":"_2WdOf","form-section__subtitle":"_zybxx","form-section--no-margin":"_xT-U1"};
|
|
16075
16131
|
|
|
16132
|
+
/**
|
|
16133
|
+
* FormSection is a component that groups related form fields together, optionally with a title and subtitle. It can also be rendered as a card for visual separation.
|
|
16134
|
+
*/
|
|
16076
16135
|
var FormSection = function FormSection(_ref) {
|
|
16077
16136
|
var _classnames;
|
|
16078
16137
|
var children = _ref.children,
|
|
@@ -16131,6 +16190,9 @@ var FormFooterActions = function FormFooterActions(_ref) {
|
|
|
16131
16190
|
}, primaryButton, secondaryButton), tertiaryButton);
|
|
16132
16191
|
};
|
|
16133
16192
|
|
|
16193
|
+
/**
|
|
16194
|
+
* FormFooter is meant to be used as the footer of a form, and it contains actions (primary, secondary, tertiary).
|
|
16195
|
+
*/
|
|
16134
16196
|
var FormFooter = function FormFooter(_ref) {
|
|
16135
16197
|
var children = _ref.children,
|
|
16136
16198
|
actions = _ref.actions,
|
|
@@ -16363,7 +16425,9 @@ var TextFieldElement = function TextFieldElement(_ref, ref) {
|
|
|
16363
16425
|
suffix: suffix
|
|
16364
16426
|
}, React__default["default"].createElement("input", _extends({}, inputProps))));
|
|
16365
16427
|
};
|
|
16366
|
-
/**
|
|
16428
|
+
/**
|
|
16429
|
+
* TextField is a basic open input field used to get text from the user, with options to add a prefix or suffix element if necessary. Accepts any characters, so do not use it if you want to limit the format of the input to numbers only.
|
|
16430
|
+
*/
|
|
16367
16431
|
var TextField = React.forwardRef(TextFieldElement);
|
|
16368
16432
|
|
|
16369
16433
|
var styles$x = {"pill-select-field":"_Yti6k","pill-select-field__creating-input":"_dw-VP","pill-select-field__custom-input":"_JXakU","pill-select-field__add-new-input":"_MsKVV","pill-select-field__creating-custom-input":"_ZxEwG","pill-select-field__removable-icon":"_Odw1V"};
|
|
@@ -16582,6 +16646,9 @@ var styles$w = {"week-select-field":"_IYHYX","week-select-field__day":"_JnbPv","
|
|
|
16582
16646
|
var toKey = function toKey(d) {
|
|
16583
16647
|
return d.getFullYear() + "-" + d.getMonth() + "-" + d.getDate();
|
|
16584
16648
|
};
|
|
16649
|
+
/**
|
|
16650
|
+
* WeekSelectField is a form field that allows the user to select one or more days from a week, displayed as pill-shaped buttons.
|
|
16651
|
+
*/
|
|
16585
16652
|
var WeekSelectField = function WeekSelectField(_ref) {
|
|
16586
16653
|
var _formikState$value;
|
|
16587
16654
|
var name = _ref.name,
|
|
@@ -18468,6 +18535,9 @@ var PercentageElement = function PercentageElement(_ref, ref) {
|
|
|
18468
18535
|
*/
|
|
18469
18536
|
var PercentageField = React.forwardRef(PercentageElement);
|
|
18470
18537
|
|
|
18538
|
+
/**
|
|
18539
|
+
* FormFeedback displays contextual feedback for a form field, such as an error message or validation message.
|
|
18540
|
+
*/
|
|
18471
18541
|
var FormFeedback = function FormFeedback(_ref) {
|
|
18472
18542
|
var children = _ref.children,
|
|
18473
18543
|
fieldId = _ref.fieldId,
|
|
@@ -19449,6 +19519,9 @@ var CountrySelector = function CountrySelector(_ref) {
|
|
|
19449
19519
|
};
|
|
19450
19520
|
|
|
19451
19521
|
var _excluded$a_ = ["disabledCountry", "priorityCountries"];
|
|
19522
|
+
/**
|
|
19523
|
+
* PhoneField is a text field that allows the user to input a phone number, with an optional country selector for international numbers.
|
|
19524
|
+
*/
|
|
19452
19525
|
var PhoneField = function PhoneField(_ref) {
|
|
19453
19526
|
var _classNames;
|
|
19454
19527
|
var _ref$disabledCountry = _ref.disabledCountry,
|
|
@@ -20044,6 +20117,9 @@ var ColorFieldElement = function ColorFieldElement(props, ref) {
|
|
|
20044
20117
|
allowCustomColor: props.allowCustomColor
|
|
20045
20118
|
}));
|
|
20046
20119
|
};
|
|
20120
|
+
/**
|
|
20121
|
+
* ColorField is a text field that allows the user to select a color from a palette of sequential colors or a custom color picker.
|
|
20122
|
+
*/
|
|
20047
20123
|
var ColorField = React.forwardRef(ColorFieldElement);
|
|
20048
20124
|
|
|
20049
20125
|
/**
|
|
@@ -20260,6 +20336,9 @@ function useIsVisibleInViewPort() {
|
|
|
20260
20336
|
};
|
|
20261
20337
|
}
|
|
20262
20338
|
|
|
20339
|
+
/**
|
|
20340
|
+
* Avatar represents a person or entity — such as a company, location, department, or role — with a visual identifier. It appears wherever a person or entity's identity needs to be communicated at a glance.
|
|
20341
|
+
*/
|
|
20263
20342
|
var Avatar = function Avatar(_ref) {
|
|
20264
20343
|
var _classnames;
|
|
20265
20344
|
var children = _ref.children,
|
|
@@ -20318,6 +20397,9 @@ var CHIP_THEME = {
|
|
|
20318
20397
|
|
|
20319
20398
|
var styles$e = {"chip":"_Cg5Nf","chip__children":"_e3zFF","chip--marketing":"_b60R5","chip--success":"_ItVyo","chip--upsell":"_iUCAH","chip--warning":"_RbXoR","chip--info":"_NiP9z","chip--danger":"_2ltep","chip--ai":"_1ZhCH"};
|
|
20320
20399
|
|
|
20400
|
+
/**
|
|
20401
|
+
* Chip is a compact label used to communicate status about a nearby element — things like feature availability, product tier, or release stage. It is visually similar to Pill but serves a distinct purpose: where Pill communicates the status of data or records, Chip communicates the status of the product or interface itself.
|
|
20402
|
+
*/
|
|
20321
20403
|
var Chip = function Chip(_ref) {
|
|
20322
20404
|
var _classnames;
|
|
20323
20405
|
var children = _ref.children,
|
|
@@ -20379,6 +20461,9 @@ var PillElement = function PillElement(_ref, forwardedRef) {
|
|
|
20379
20461
|
className: styles$d['pill__children']
|
|
20380
20462
|
}, formattedChildren));
|
|
20381
20463
|
};
|
|
20464
|
+
/**
|
|
20465
|
+
* Pill is a compact status label that communicates the current state of a data record or object. It appears alongside the thing it describes and gives users a quick, at-a-glance read on what state something is in — approved, pending, active, declined, and so on.
|
|
20466
|
+
*/
|
|
20382
20467
|
var Pill = React.forwardRef(PillElement);
|
|
20383
20468
|
|
|
20384
20469
|
var getIllustrationStyles = function getIllustrationStyles(style, theme, size) {
|
|
@@ -63523,6 +63608,9 @@ var PrimaryNavHeader = function PrimaryNavHeader(_ref) {
|
|
|
63523
63608
|
|
|
63524
63609
|
var styles$b = {"primary-nav":"_Smo46","primary-nav--dark":"_-6GAa","primary-nav--collapsed":"_w-QAC","primary-nav__content":"_UCA59","primary-nav--expanded":"_B7Nse"};
|
|
63525
63610
|
|
|
63611
|
+
/**
|
|
63612
|
+
* PrimaryNav is a vertical navigation component that provides a consistent way for users to navigate through the main sections of an application.
|
|
63613
|
+
*/
|
|
63526
63614
|
var PrimaryNav = function PrimaryNav(_ref) {
|
|
63527
63615
|
var children = _ref.children,
|
|
63528
63616
|
isExpanded = _ref.isExpanded,
|
|
@@ -63828,6 +63916,9 @@ function TabsContextProvider(_ref) {
|
|
|
63828
63916
|
}, children);
|
|
63829
63917
|
}
|
|
63830
63918
|
|
|
63919
|
+
/**
|
|
63920
|
+
* Tabs organize content into sections within a single view, letting users switch between them without leaving the page.
|
|
63921
|
+
*/
|
|
63831
63922
|
var Tabs = function Tabs(_ref) {
|
|
63832
63923
|
var children = _ref.children,
|
|
63833
63924
|
value = _ref.value,
|
|
@@ -64075,6 +64166,9 @@ var EmptyStateContainer = function EmptyStateContainer(_ref) {
|
|
|
64075
64166
|
|
|
64076
64167
|
var styles$1 = {"paywall--as-card":"_Eod9y","paywall--as-card--centered":"_dpIXc"};
|
|
64077
64168
|
|
|
64169
|
+
/**
|
|
64170
|
+
* Paywall is a specialised empty state for content that is locked behind a paid plan or add-on the user does not currently have.
|
|
64171
|
+
*/
|
|
64078
64172
|
var Paywall = function Paywall(props) {
|
|
64079
64173
|
var header = props.header,
|
|
64080
64174
|
title = props.title,
|
|
@@ -64111,6 +64205,9 @@ var Paywall = function Paywall(props) {
|
|
|
64111
64205
|
|
|
64112
64206
|
var styles = {"empty-state--as-card":"_KzIqD","empty-state--as-card--centered":"_3TdW7"};
|
|
64113
64207
|
|
|
64208
|
+
/**
|
|
64209
|
+
* EmptyState component renders a message or illustration when there is no data to display. Most commonly seen in first time interactions with a product or page, but also when data’s been deleted or unavailable.
|
|
64210
|
+
*/
|
|
64114
64211
|
var EmptyState = function EmptyState(props) {
|
|
64115
64212
|
var header = props.header,
|
|
64116
64213
|
title = props.title,
|