@kaizen/components 2.3.7 → 2.5.0
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/cjs/index.cjs +2 -0
- package/dist/cjs/src/Content/Content.cjs +1 -1
- package/dist/cjs/src/Content/{Content.module.scss.cjs → Content.module.css.cjs} +1 -1
- package/dist/cjs/src/Divider/Divider.cjs +1 -1
- package/dist/cjs/src/Divider/Divider.module.css.cjs +10 -0
- package/dist/cjs/src/ErrorPage/ErrorPage.cjs +1 -1
- package/dist/cjs/src/ErrorPage/ErrorPage.module.css.cjs +6 -0
- package/dist/cjs/src/Heading/Heading.cjs +1 -1
- package/dist/cjs/src/Heading/Heading.module.css.cjs +22 -0
- package/dist/cjs/src/Illustration/Spot/Spot.cjs +9 -0
- package/dist/cjs/src/Label/Label.cjs +1 -1
- package/dist/cjs/src/Label/Label.module.css.cjs +16 -0
- package/dist/cjs/src/LabelledMessage/LabelledMessage.cjs +1 -1
- package/dist/cjs/src/LabelledMessage/LabelledMessage.module.css.cjs +7 -0
- package/dist/cjs/src/Notification/InlineNotification/InlineNotification.cjs +1 -1
- package/dist/cjs/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.cjs +1 -1
- package/dist/cjs/src/Notification/ToastNotification/ToastNotificationsList/{ToastNotificationsList.module.scss.cjs → ToastNotificationsList.module.css.cjs} +1 -1
- package/dist/cjs/src/Notification/subcomponents/CancelButton/CancelButton.cjs +1 -1
- package/dist/cjs/src/Notification/subcomponents/GenericNotification/GenericNotification.cjs +1 -1
- package/dist/cjs/src/Notification/subcomponents/GenericNotification/GenericNotification.module.css.cjs +29 -0
- package/dist/cjs/src/Notification/subcomponents/NotificationHeading/NotificationHeading.cjs +1 -1
- package/dist/cjs/src/Select/Select.cjs +9 -7
- package/dist/cjs/src/Tag/Tag.cjs +1 -1
- package/dist/cjs/src/Tag/Tag.module.css.cjs +30 -0
- package/dist/cjs/src/Text/Text.cjs +1 -1
- package/dist/cjs/src/Text/Text.module.css.cjs +16 -0
- package/dist/cjs/src/TimeField/TimeField.cjs +6 -1
- package/dist/cjs/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.cjs +1 -1
- package/dist/cjs/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.css.cjs +13 -0
- package/dist/cjs/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.cjs +1 -1
- package/dist/cjs/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.css.cjs +9 -0
- package/dist/cjs/src/Tooltip/OverlayArrow.cjs +1 -1
- package/dist/cjs/src/Tooltip/OverlayArrow.module.css.cjs +7 -0
- package/dist/cjs/src/Tooltip/Tooltip.cjs +1 -1
- package/dist/cjs/src/Tooltip/Tooltip.module.css.cjs +7 -0
- package/dist/cjs/src/VisuallyHidden/VisuallyHidden.cjs +1 -1
- package/dist/cjs/src/VisuallyHidden/{VisuallyHidden.module.scss.cjs → VisuallyHidden.module.css.cjs} +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/src/Content/Content.mjs +1 -1
- package/dist/esm/src/Content/{Content.module.scss.mjs → Content.module.css.mjs} +1 -1
- package/dist/esm/src/Divider/Divider.mjs +1 -1
- package/dist/esm/src/Divider/Divider.module.css.mjs +8 -0
- package/dist/esm/src/ErrorPage/ErrorPage.mjs +1 -1
- package/dist/esm/src/ErrorPage/ErrorPage.module.css.mjs +4 -0
- package/dist/esm/src/Heading/Heading.mjs +1 -1
- package/dist/esm/src/Heading/Heading.module.css.mjs +20 -0
- package/dist/esm/src/Illustration/Spot/Spot.mjs +8 -1
- package/dist/esm/src/Label/Label.mjs +1 -1
- package/dist/esm/src/Label/Label.module.css.mjs +14 -0
- package/dist/esm/src/LabelledMessage/LabelledMessage.mjs +1 -1
- package/dist/esm/src/LabelledMessage/LabelledMessage.module.css.mjs +5 -0
- package/dist/esm/src/Notification/InlineNotification/InlineNotification.mjs +1 -1
- package/dist/esm/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.mjs +1 -1
- package/dist/esm/src/Notification/ToastNotification/ToastNotificationsList/{ToastNotificationsList.module.scss.mjs → ToastNotificationsList.module.css.mjs} +1 -1
- package/dist/esm/src/Notification/subcomponents/CancelButton/CancelButton.mjs +1 -1
- package/dist/esm/src/Notification/subcomponents/GenericNotification/GenericNotification.mjs +1 -1
- package/dist/esm/src/Notification/subcomponents/GenericNotification/GenericNotification.module.css.mjs +27 -0
- package/dist/esm/src/Notification/subcomponents/NotificationHeading/NotificationHeading.mjs +1 -1
- package/dist/esm/src/Select/Select.mjs +9 -7
- package/dist/esm/src/Tag/Tag.mjs +1 -1
- package/dist/esm/src/Tag/Tag.module.css.mjs +28 -0
- package/dist/esm/src/Text/Text.mjs +1 -1
- package/dist/esm/src/Text/Text.module.css.mjs +14 -0
- package/dist/esm/src/TimeField/TimeField.mjs +7 -2
- package/dist/esm/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.mjs +1 -1
- package/dist/esm/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.css.mjs +11 -0
- package/dist/esm/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.mjs +1 -1
- package/dist/esm/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.css.mjs +7 -0
- package/dist/esm/src/Tooltip/OverlayArrow.mjs +1 -1
- package/dist/esm/src/Tooltip/OverlayArrow.module.css.mjs +5 -0
- package/dist/esm/src/Tooltip/Tooltip.mjs +1 -1
- package/dist/esm/src/Tooltip/Tooltip.module.css.mjs +5 -0
- package/dist/esm/src/VisuallyHidden/VisuallyHidden.mjs +1 -1
- package/dist/esm/src/VisuallyHidden/VisuallyHidden.module.css.mjs +4 -0
- package/dist/styles.css +924 -655
- package/dist/types/Illustration/Spot/Spot.d.ts +5 -0
- package/locales/ar.json +4 -0
- package/locales/bg.json +4 -0
- package/locales/cs.json +4 -0
- package/locales/cy.json +4 -0
- package/locales/da.json +4 -0
- package/locales/de.json +4 -0
- package/locales/el.json +4 -0
- package/locales/en-GB.json +4 -0
- package/locales/en.json +4 -0
- package/locales/es-419.json +4 -0
- package/locales/es.json +4 -0
- package/locales/et.json +4 -0
- package/locales/fi.json +4 -0
- package/locales/fr-CA.json +4 -0
- package/locales/fr.json +4 -0
- package/locales/he.json +4 -0
- package/locales/hi.json +4 -0
- package/locales/ht.json +4 -0
- package/locales/hu.json +4 -0
- package/locales/id.json +4 -0
- package/locales/it.json +4 -0
- package/locales/ja.json +4 -0
- package/locales/km-KH.json +4 -0
- package/locales/ko.json +4 -0
- package/locales/lt.json +4 -0
- package/locales/lv.json +4 -0
- package/locales/mi.json +4 -0
- package/locales/ms.json +4 -0
- package/locales/nb.json +4 -0
- package/locales/nl.json +4 -0
- package/locales/pl.json +4 -0
- package/locales/pt-BR.json +4 -0
- package/locales/pt.json +4 -0
- package/locales/ro.json +4 -0
- package/locales/ru.json +4 -0
- package/locales/si-LK.json +4 -0
- package/locales/sk.json +4 -0
- package/locales/sr.json +4 -0
- package/locales/sv.json +4 -0
- package/locales/th.json +4 -0
- package/locales/tl.json +4 -0
- package/locales/tr.json +4 -0
- package/locales/uk.json +4 -0
- package/locales/vi.json +4 -0
- package/locales/zh-TW.json +4 -0
- package/locales/zh.json +4 -0
- package/package.json +1 -1
- package/src/Content/Content.module.css +15 -0
- package/src/Content/Content.tsx +1 -1
- package/src/Content/_docs/Content.stories.tsx +1 -1
- package/src/Content/_variables.css +5 -0
- package/src/Divider/Divider.module.css +41 -0
- package/src/Divider/Divider.tsx +1 -1
- package/src/ErrorPage/ErrorPage.module.css +5 -0
- package/src/ErrorPage/ErrorPage.tsx +1 -1
- package/src/Heading/Heading.module.css +111 -0
- package/src/Heading/Heading.tsx +1 -1
- package/src/Illustration/Spot/Spot.tsx +6 -0
- package/src/Illustration/Spot/_docs/Spot.stickersheet.stories.tsx +22 -0
- package/src/Label/Label.module.css +97 -0
- package/src/Label/Label.tsx +1 -1
- package/src/Label/_docs/Label.stickersheet.stories.tsx +9 -4
- package/src/LabelledMessage/{LabelledMessage.module.scss → LabelledMessage.module.css} +1 -3
- package/src/LabelledMessage/LabelledMessage.tsx +1 -1
- package/src/Notification/InlineNotification/InlineNotification.tsx +1 -1
- package/src/Notification/InlineNotification/_docs/InlineNotification.stickersheet.stories.tsx +1 -1
- package/src/Notification/ToastNotification/ToastNotificationsList/{ToastNotificationsList.module.scss → ToastNotificationsList.module.css} +6 -8
- package/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.tsx +1 -1
- package/src/Notification/subcomponents/CancelButton/CancelButton.tsx +1 -1
- package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.css +392 -0
- package/src/Notification/subcomponents/GenericNotification/GenericNotification.tsx +1 -1
- package/src/Notification/subcomponents/NotificationHeading/NotificationHeading.tsx +1 -1
- package/src/Select/Select.tsx +8 -6
- package/src/Tag/Tag.module.css +217 -0
- package/src/Tag/Tag.tsx +1 -1
- package/src/Text/Text.module.css +71 -0
- package/src/Text/Text.tsx +1 -1
- package/src/TimeField/TimeField.tsx +8 -2
- package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.css +141 -0
- package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.tsx +1 -1
- package/src/ToggleSwitch/ToggleSwitchField/{ToggleSwitchField.module.scss → ToggleSwitchField.module.css} +1 -3
- package/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.tsx +1 -1
- package/src/Tooltip/OverlayArrow.module.css +45 -0
- package/src/Tooltip/OverlayArrow.tsx +1 -1
- package/src/Tooltip/Tooltip.module.css +62 -0
- package/src/Tooltip/Tooltip.tsx +1 -1
- package/src/VisuallyHidden/VisuallyHidden.tsx +1 -1
- package/dist/cjs/src/Divider/Divider.module.scss.cjs +0 -10
- package/dist/cjs/src/ErrorPage/ErrorPage.module.scss.cjs +0 -6
- package/dist/cjs/src/Heading/Heading.module.scss.cjs +0 -22
- package/dist/cjs/src/Label/Label.module.scss.cjs +0 -15
- package/dist/cjs/src/LabelledMessage/LabelledMessage.module.scss.cjs +0 -7
- package/dist/cjs/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss.cjs +0 -29
- package/dist/cjs/src/Tag/Tag.module.scss.cjs +0 -30
- package/dist/cjs/src/Text/Text.module.scss.cjs +0 -16
- package/dist/cjs/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss.cjs +0 -13
- package/dist/cjs/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss.cjs +0 -9
- package/dist/cjs/src/Tooltip/OverlayArrow.module.scss.cjs +0 -7
- package/dist/cjs/src/Tooltip/Tooltip.module.scss.cjs +0 -7
- package/dist/esm/src/Divider/Divider.module.scss.mjs +0 -8
- package/dist/esm/src/ErrorPage/ErrorPage.module.scss.mjs +0 -4
- package/dist/esm/src/Heading/Heading.module.scss.mjs +0 -20
- package/dist/esm/src/Label/Label.module.scss.mjs +0 -13
- package/dist/esm/src/LabelledMessage/LabelledMessage.module.scss.mjs +0 -5
- package/dist/esm/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss.mjs +0 -27
- package/dist/esm/src/Tag/Tag.module.scss.mjs +0 -28
- package/dist/esm/src/Text/Text.module.scss.mjs +0 -14
- package/dist/esm/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss.mjs +0 -11
- package/dist/esm/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss.mjs +0 -7
- package/dist/esm/src/Tooltip/OverlayArrow.module.scss.mjs +0 -5
- package/dist/esm/src/Tooltip/Tooltip.module.scss.mjs +0 -5
- package/dist/esm/src/VisuallyHidden/VisuallyHidden.module.scss.mjs +0 -4
- package/src/Content/Content.module.scss +0 -17
- package/src/Content/_variables.scss +0 -3
- package/src/Divider/Divider.module.scss +0 -39
- package/src/ErrorPage/ErrorPage.module.scss +0 -7
- package/src/Heading/Heading.module.scss +0 -115
- package/src/Label/Label.module.scss +0 -105
- package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +0 -138
- package/src/Notification/subcomponents/GenericNotification/_mixins.scss +0 -366
- package/src/Tag/Tag.module.scss +0 -215
- package/src/Text/Text.module.scss +0 -74
- package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss +0 -139
- package/src/Tooltip/OverlayArrow.module.scss +0 -45
- package/src/Tooltip/Tooltip.module.scss +0 -68
- /package/src/VisuallyHidden/{VisuallyHidden.module.scss → VisuallyHidden.module.css} +0 -0
|
@@ -27,6 +27,13 @@ var Negative = createSpotIllustration("moods-negative.svg");
|
|
|
27
27
|
var Positive = createSpotIllustration("moods-positive.svg");
|
|
28
28
|
/* prettier-ignore */
|
|
29
29
|
var Assertive = createSpotIllustration("moods-assertive.svg");
|
|
30
|
+
/**
|
|
31
|
+
* Template Library / PCD
|
|
32
|
+
*/
|
|
33
|
+
/* prettier-ignore */
|
|
34
|
+
var PCDSurvey = createSpotIllustration("template-library-pcq-survey-full.svg");
|
|
35
|
+
/* prettier-ignore */
|
|
36
|
+
var PCDPulseSurvey = createSpotIllustration("template-library-pcq-survey-pulse.svg");
|
|
30
37
|
/**
|
|
31
38
|
* Template Library / Engagement
|
|
32
39
|
*/
|
|
@@ -313,4 +320,4 @@ var Recommendation = createSpotIllustration("miscellaneous-recommendation.svg");
|
|
|
313
320
|
var Objective = createSpotIllustration("miscellaneous-objective.svg");
|
|
314
321
|
/* prettier-ignore */
|
|
315
322
|
var CalendarSync = createSpotIllustration("miscellaneous-calendar-sync.svg");
|
|
316
|
-
export { AccountBasics, Action, ActionPlans, AddImage, AddUser, Alarm, AmplifyOthers, Assertive, BCorp, BaselineSurvey, Behaviour, BenefitsSurvey, BlankSurvey, CalendarSync, CandidateSurvey, Cautionary, ChangeAgents, ChangeReadiness, ChangeSuccess, Coaching, Communications, Community, Company, CompanyDetails, Conversations, CustomOnboardSurvey, CustomSurvey, CustomUnattributedSurvey, DataVisualization, EmergencyResponse, EmployeeData, EndOfProbation, EngagementSurvey, EssentialProductivity, EssentialResilience, ExecutiveReportSharing, ExitSurvey, FastAction, Feedback, Fire, Fireworks, FullImport, Gdpr, GeneralOnboardSurvey, Goals, HaveTheCourageToBeVulnerable, HealthAndSafety, HrisImport, InclusionSurvey, Individual180, Individual360, Individual360Pulse, InfluentialCommunication, Informative, Insights, InternSurvey, LeaderReportSharing, Leadership180, Leadership360, LeadingChange, LeadingThroughCrisis, Learn, LearnFasterThroughFeedback, London, Manager180, Manager360, Manager360Pulse, ManagerLearning, ManagerReportSharing, MeetingVoices, Melbourne, Microphone, Negative, NewWaysOfWorking, NewYork, Objective, OneOnOne, PaperPen, PartialImport, PerformanceDiagnostics, PhasedWeek1OnboardSurvey, PhasedWeek5OnboardSurvey, Positive, PowerfulInsights, Privacy, Process, Productivity, PulseSurvey, QuickEngagementSurvey, ReOnboarding, ReadArticle, Recommendation, RemoteManager, RemoteOnboardSurvey, RemoteWorkQSet, ReportSharing, Resilience, Resources, Response, ReturnToWorkplace, SanFrancisco, ScienceBackedTools, ShareReport, SinglePointOnboardSurvey, SkillsDevelopment, SpreadsheetTemplate, Starburst, Stop, Strategy, TakeAim, Team1, Team2, TeamEffectiveness1, TeamEffectiveness2, TeamEffectiveness3, Templates, Timezone, TrafficCone, Training1, Training2, Training3, Trophy, TrustOthersToMakeDecisions, UnderConstruction, ValueAdd, ValuesSurvey1, ValuesSurvey2, Video, ViewReports, WellbeingSurvey, WellbeingSurvey1, WellbeingSurvey2, WellbeingSurvey3, Workshop };
|
|
323
|
+
export { AccountBasics, Action, ActionPlans, AddImage, AddUser, Alarm, AmplifyOthers, Assertive, BCorp, BaselineSurvey, Behaviour, BenefitsSurvey, BlankSurvey, CalendarSync, CandidateSurvey, Cautionary, ChangeAgents, ChangeReadiness, ChangeSuccess, Coaching, Communications, Community, Company, CompanyDetails, Conversations, CustomOnboardSurvey, CustomSurvey, CustomUnattributedSurvey, DataVisualization, EmergencyResponse, EmployeeData, EndOfProbation, EngagementSurvey, EssentialProductivity, EssentialResilience, ExecutiveReportSharing, ExitSurvey, FastAction, Feedback, Fire, Fireworks, FullImport, Gdpr, GeneralOnboardSurvey, Goals, HaveTheCourageToBeVulnerable, HealthAndSafety, HrisImport, InclusionSurvey, Individual180, Individual360, Individual360Pulse, InfluentialCommunication, Informative, Insights, InternSurvey, LeaderReportSharing, Leadership180, Leadership360, LeadingChange, LeadingThroughCrisis, Learn, LearnFasterThroughFeedback, London, Manager180, Manager360, Manager360Pulse, ManagerLearning, ManagerReportSharing, MeetingVoices, Melbourne, Microphone, Negative, NewWaysOfWorking, NewYork, Objective, OneOnOne, PCDPulseSurvey, PCDSurvey, PaperPen, PartialImport, PerformanceDiagnostics, PhasedWeek1OnboardSurvey, PhasedWeek5OnboardSurvey, Positive, PowerfulInsights, Privacy, Process, Productivity, PulseSurvey, QuickEngagementSurvey, ReOnboarding, ReadArticle, Recommendation, RemoteManager, RemoteOnboardSurvey, RemoteWorkQSet, ReportSharing, Resilience, Resources, Response, ReturnToWorkplace, SanFrancisco, ScienceBackedTools, ShareReport, SinglePointOnboardSurvey, SkillsDevelopment, SpreadsheetTemplate, Starburst, Stop, Strategy, TakeAim, Team1, Team2, TeamEffectiveness1, TeamEffectiveness2, TeamEffectiveness3, Templates, Timezone, TrafficCone, Training1, Training2, Training3, Trophy, TrustOthersToMakeDecisions, UnderConstruction, ValueAdd, ValuesSurvey1, ValuesSurvey2, Video, ViewReports, WellbeingSurvey, WellbeingSurvey1, WellbeingSurvey2, WellbeingSurvey3, Workshop };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
-
import styles from './Label.module.
|
|
4
|
+
import styles from './Label.module.css.mjs';
|
|
5
5
|
const Label = /*#__PURE__*/function () {
|
|
6
6
|
const Label = function (_a) {
|
|
7
7
|
var children = _a.children,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"label": "Label-module_label__jvxMB",
|
|
3
|
+
"reversed": "Label-module_reversed__Qu7Kc",
|
|
4
|
+
"disabled": "Label-module_disabled__3Mej6",
|
|
5
|
+
"text": "Label-module_text__zkbHj",
|
|
6
|
+
"checkboxOrRadio": "Label-module_checkboxOrRadio__lzm9I",
|
|
7
|
+
"checkbox": "Label-module_checkbox__vtFpn",
|
|
8
|
+
"radio": "Label-module_radio__xenTn",
|
|
9
|
+
"toggle": "Label-module_toggle__prty7",
|
|
10
|
+
"prependedLabel": "Label-module_prependedLabel__XhXdP",
|
|
11
|
+
"appendedLabel": "Label-module_appendedLabel__vp5Uc",
|
|
12
|
+
"prominent": "Label-module_prominent__dW3K7"
|
|
13
|
+
};
|
|
14
|
+
export { styles as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
-
import styles from './LabelledMessage.module.
|
|
4
|
+
import styles from './LabelledMessage.module.css.mjs';
|
|
5
5
|
const LabelledMessage = /*#__PURE__*/function () {
|
|
6
6
|
const LabelledMessage = function (_a) {
|
|
7
7
|
var label = _a.label,
|
|
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { GenericNotification } from '../subcomponents/GenericNotification/GenericNotification.mjs';
|
|
5
|
-
import styles from '../subcomponents/GenericNotification/GenericNotification.module.
|
|
5
|
+
import styles from '../subcomponents/GenericNotification/GenericNotification.module.css.mjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082093392/Inline+Notification Guidance} |
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState, useEffect } from 'react';
|
|
2
2
|
import { useToastNotificationContext } from '../context/ToastNotificationContext.mjs';
|
|
3
3
|
import { ToastNotificationsMap } from './subcomponents/ToastNotificationsMap/ToastNotificationsMap.mjs';
|
|
4
|
-
import styles from './ToastNotificationsList.module.
|
|
4
|
+
import styles from './ToastNotificationsList.module.css.mjs';
|
|
5
5
|
var toastNotificationListId = 'toast-notifications-list';
|
|
6
6
|
const ToastNotificationsList = /*#__PURE__*/function () {
|
|
7
7
|
const ToastNotificationsList = function () {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Icon } from '../../../Icon/Icon.mjs';
|
|
3
|
-
import styles from '../GenericNotification/GenericNotification.module.
|
|
3
|
+
import styles from '../GenericNotification/GenericNotification.module.css.mjs';
|
|
4
4
|
const CancelButton = /*#__PURE__*/function () {
|
|
5
5
|
const CancelButton = function (_a) {
|
|
6
6
|
var onClick = _a.onClick;
|
|
@@ -5,7 +5,7 @@ import { isRefObject } from '../../../utils/isRefObject.mjs';
|
|
|
5
5
|
import { CancelButton } from '../CancelButton/CancelButton.mjs';
|
|
6
6
|
import { NotificationHeading } from '../NotificationHeading/NotificationHeading.mjs';
|
|
7
7
|
import { NotificationIconVariant } from '../NotificationIcon/NotificationIcon.mjs';
|
|
8
|
-
import styles from './GenericNotification.module.
|
|
8
|
+
import styles from './GenericNotification.module.css.mjs';
|
|
9
9
|
const GenericNotification = /*#__PURE__*/function () {
|
|
10
10
|
const GenericNotification = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
11
11
|
var variant = _a.variant,
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"notification": "GenericNotification-module_notification__-lOMz",
|
|
3
|
+
"inline": "GenericNotification-module_inline__lnYb9",
|
|
4
|
+
"toast": "GenericNotification-module_toast__dPvtC",
|
|
5
|
+
"global": "GenericNotification-module_global__i1IKL",
|
|
6
|
+
"success": "GenericNotification-module_success__HMC7W",
|
|
7
|
+
"informative": "GenericNotification-module_informative__S4sGn",
|
|
8
|
+
"cautionary": "GenericNotification-module_cautionary__VMbSA",
|
|
9
|
+
"security": "GenericNotification-module_security__pdJT9",
|
|
10
|
+
"warning": "GenericNotification-module_warning__42AEX",
|
|
11
|
+
"hidden": "GenericNotification-module_hidden__QOpq1",
|
|
12
|
+
"icon": "GenericNotification-module_icon__rMIaU",
|
|
13
|
+
"textContainer": "GenericNotification-module_textContainer__yHSKi",
|
|
14
|
+
"forceMultiline": "GenericNotification-module_forceMultiline__SlLf9",
|
|
15
|
+
"title": "GenericNotification-module_title__3cvl6",
|
|
16
|
+
"notificationTitle": "GenericNotification-module_notificationTitle__-yijp",
|
|
17
|
+
"text": "GenericNotification-module_text__B5r5l",
|
|
18
|
+
"cancel": "GenericNotification-module_cancel__4O-Ys",
|
|
19
|
+
"disabled": "GenericNotification-module_disabled__V2Wyr",
|
|
20
|
+
"hover": "GenericNotification-module_hover__erovs",
|
|
21
|
+
"active": "GenericNotification-module_active__2ksOr",
|
|
22
|
+
"cancelLabel": "GenericNotification-module_cancelLabel__uLIuz",
|
|
23
|
+
"noBottomMargin": "GenericNotification-module_noBottomMargin__okqYr",
|
|
24
|
+
"persistent": "GenericNotification-module_persistent__y-Jp7",
|
|
25
|
+
"subtle": "GenericNotification-module_subtle__TCixZ"
|
|
26
|
+
};
|
|
27
|
+
export { styles as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Heading } from '../../../Heading/Heading.mjs';
|
|
3
|
-
import styles from '../GenericNotification/GenericNotification.module.
|
|
3
|
+
import styles from '../GenericNotification/GenericNotification.module.css.mjs';
|
|
4
4
|
const NotificationHeading = /*#__PURE__*/function () {
|
|
5
5
|
const NotificationHeading = function (_a) {
|
|
6
6
|
var _b, _c, _d;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React, { useId, useState } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
+
import { useButton } from 'react-aria';
|
|
4
5
|
import ReactSelect, { components } from 'react-select';
|
|
5
6
|
import Async from 'react-select/async';
|
|
7
|
+
import { ClearButton } from '../ClearButton/ClearButton.mjs';
|
|
6
8
|
import { FieldMessage } from '../FieldMessage/FieldMessage.mjs';
|
|
7
9
|
import { Icon } from '../Icon/Icon.mjs';
|
|
8
10
|
import { Label } from '../Label/Label.mjs';
|
|
@@ -87,7 +89,7 @@ const AsyncSelect = /*#__PURE__*/function () {
|
|
|
87
89
|
MultiValue: MultiValue,
|
|
88
90
|
IndicatorsContainer: IndicatorsContainer,
|
|
89
91
|
ValueContainer: ValueContainer,
|
|
90
|
-
ClearIndicator:
|
|
92
|
+
ClearIndicator: ClearIndicator,
|
|
91
93
|
IndicatorSeparator: null,
|
|
92
94
|
LoadingMessage: LoadingMessage
|
|
93
95
|
},
|
|
@@ -179,12 +181,12 @@ var ValueContainer = function (props) {
|
|
|
179
181
|
}));
|
|
180
182
|
};
|
|
181
183
|
var ClearIndicator = function (props) {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
184
|
+
var buttonRef = React.useRef(null);
|
|
185
|
+
var buttonProps = useButton(__assign(__assign({}, props), {
|
|
186
|
+
onClick: props.clearValue
|
|
187
|
+
}), buttonRef).buttonProps;
|
|
188
|
+
return /*#__PURE__*/React.createElement(ClearButton, __assign({}, buttonProps, {
|
|
189
|
+
classNameOverride: styles.clearIndicator
|
|
188
190
|
}));
|
|
189
191
|
};
|
|
190
192
|
export { AsyncSelect, Select };
|
package/dist/esm/src/Tag/Tag.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import classnames from 'classnames';
|
|
|
4
4
|
import { Avatar } from '../Avatar/Avatar.mjs';
|
|
5
5
|
import { Icon } from '../Icon/Icon.mjs';
|
|
6
6
|
import { LiveIcon } from './subcomponents/LiveIcon/LiveIcon.mjs';
|
|
7
|
-
import styles from './Tag.module.
|
|
7
|
+
import styles from './Tag.module.css.mjs';
|
|
8
8
|
var isJSXElement = function (imageElementOrAvatarProps) {
|
|
9
9
|
return 'props' in imageElementOrAvatarProps;
|
|
10
10
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"root": "Tag-module_root__sGbnM",
|
|
3
|
+
"profile": "Tag-module_profile__lpDJR",
|
|
4
|
+
"layoutContainer": "Tag-module_layoutContainer__cPxSs",
|
|
5
|
+
"validationIcon": "Tag-module_validationIcon__i87BD",
|
|
6
|
+
"textContent": "Tag-module_textContent__61iwm",
|
|
7
|
+
"iconWrapper": "Tag-module_iconWrapper__gXgCb",
|
|
8
|
+
"dismissButton": "Tag-module_dismissButton__MgLNJ",
|
|
9
|
+
"background": "Tag-module_background__DaA0W",
|
|
10
|
+
"truncate": "Tag-module_truncate__5kX5V",
|
|
11
|
+
"inline": "Tag-module_inline__QQfqi",
|
|
12
|
+
"medium": "Tag-module_medium__PI53x",
|
|
13
|
+
"small": "Tag-module_small__hcPrf",
|
|
14
|
+
"default": "Tag-module_default__Wq9hK",
|
|
15
|
+
"sentimentPositive": "Tag-module_sentimentPositive__M4lXI",
|
|
16
|
+
"sentimentNeutral": "Tag-module_sentimentNeutral__uxZ6y",
|
|
17
|
+
"sentimentNegative": "Tag-module_sentimentNegative__JxDtU",
|
|
18
|
+
"sentimentNone": "Tag-module_sentimentNone__vDXoz",
|
|
19
|
+
"validationPositive": "Tag-module_validationPositive__KXW2z",
|
|
20
|
+
"validationInformative": "Tag-module_validationInformative__wJlj5",
|
|
21
|
+
"validationNegative": "Tag-module_validationNegative__CEuAp",
|
|
22
|
+
"validationCautionary": "Tag-module_validationCautionary__ay3Dg",
|
|
23
|
+
"statusLive": "Tag-module_statusLive__Ycm63",
|
|
24
|
+
"statusAction": "Tag-module_statusAction__Gdpew",
|
|
25
|
+
"statusClosed": "Tag-module_statusClosed__9Ggv1",
|
|
26
|
+
"statusDraft": "Tag-module_statusDraft__m3ksY"
|
|
27
|
+
};
|
|
28
|
+
export { styles as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import { createElement } from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
-
import styles from './Text.module.
|
|
4
|
+
import styles from './Text.module.css.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3074885298/Typography#Paragraph Guidance}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"text": "Text-module_text__3xRq3",
|
|
3
|
+
"intro-lede": "Text-module_intro-lede__Pf95y",
|
|
4
|
+
"body": "Text-module_body__o-QuI",
|
|
5
|
+
"small": "Text-module_small__d6k-f",
|
|
6
|
+
"extra-small": "Text-module_extra-small__jP3Xx",
|
|
7
|
+
"dark": "Text-module_dark__ApVTx",
|
|
8
|
+
"dark-reduced-opacity": "Text-module_dark-reduced-opacity__-ef8o",
|
|
9
|
+
"white": "Text-module_white__Vj0Na",
|
|
10
|
+
"white-reduced-opacity": "Text-module_white-reduced-opacity__kYl0h",
|
|
11
|
+
"positive": "Text-module_positive__ngZQ5",
|
|
12
|
+
"negative": "Text-module_negative__729Es"
|
|
13
|
+
};
|
|
14
|
+
export { styles as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign, __rest } from 'tslib';
|
|
2
|
-
import React, { useId } from 'react';
|
|
2
|
+
import React, { useId, useMemo } from 'react';
|
|
3
3
|
import { Time } from '@internationalized/date';
|
|
4
4
|
import { useTimeField } from '@react-aria/datepicker';
|
|
5
5
|
import { I18nProvider } from '@react-aria/i18n';
|
|
@@ -45,8 +45,13 @@ const TimeFieldComponent = /*#__PURE__*/function () {
|
|
|
45
45
|
minutes: timeValue.minute
|
|
46
46
|
});
|
|
47
47
|
};
|
|
48
|
+
var timeValue = useMemo(function () {
|
|
49
|
+
return value ? new Time(value.hour, value.minutes) : null;
|
|
50
|
+
},
|
|
51
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
52
|
+
[value === null || value === void 0 ? void 0 : value.hour, value === null || value === void 0 ? void 0 : value.minutes]);
|
|
48
53
|
var state = useTimeFieldState(__assign(__assign({}, restProps), {
|
|
49
|
-
value:
|
|
54
|
+
value: timeValue,
|
|
50
55
|
onChange: handleOnChange,
|
|
51
56
|
isDisabled: isDisabled,
|
|
52
57
|
hideTimeZone: true,
|
|
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { Icon } from '../../Icon/Icon.mjs';
|
|
5
|
-
import styles from './ToggleSwitch.module.
|
|
5
|
+
import styles from './ToggleSwitch.module.css.mjs';
|
|
6
6
|
const ToggleSwitch = /*#__PURE__*/function () {
|
|
7
7
|
const ToggleSwitch = function (_a) {
|
|
8
8
|
var toggledStatus = _a.toggledStatus,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"checkbox": "ToggleSwitch-module_checkbox__NmNyg",
|
|
3
|
+
"track": "ToggleSwitch-module_track__Zvo6N",
|
|
4
|
+
"disabled": "ToggleSwitch-module_disabled__qntEm",
|
|
5
|
+
"thumb": "ToggleSwitch-module_thumb__YIdcS",
|
|
6
|
+
"checkIcon": "ToggleSwitch-module_checkIcon__J4eSM",
|
|
7
|
+
"on": "ToggleSwitch-module_on__-OJbU",
|
|
8
|
+
"off": "ToggleSwitch-module_off__e-dto",
|
|
9
|
+
"reversed": "ToggleSwitch-module_reversed__5Jz8i"
|
|
10
|
+
};
|
|
11
|
+
export { styles as default };
|
|
@@ -4,7 +4,7 @@ import classnames from 'classnames';
|
|
|
4
4
|
import { FieldGroup } from '../../FieldGroup/FieldGroup.mjs';
|
|
5
5
|
import { Label } from '../../Label/Label.mjs';
|
|
6
6
|
import { ToggleSwitch } from '../ToggleSwitch/ToggleSwitch.mjs';
|
|
7
|
-
import styles from './ToggleSwitchField.module.
|
|
7
|
+
import styles from './ToggleSwitchField.module.css.mjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3075638160/Toggle+Switch Guidance} |
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"container": "ToggleSwitchField-module_container__6c4oG",
|
|
3
|
+
"fullWidth": "ToggleSwitchField-module_fullWidth__iGJSg",
|
|
4
|
+
"inner": "ToggleSwitchField-module_inner__k1hyg",
|
|
5
|
+
"on": "ToggleSwitchField-module_on__8RJfp"
|
|
6
|
+
};
|
|
7
|
+
export { styles as default };
|
|
@@ -4,7 +4,7 @@ import { OverlayArrow as OverlayArrow$1 } from 'react-aria-components';
|
|
|
4
4
|
import 'use-debounce';
|
|
5
5
|
import { useReversedColors } from '../utils/ReversedColors/ReversedColors.mjs';
|
|
6
6
|
import { mergeClassNames } from '../utils/mergeClassNames.mjs';
|
|
7
|
-
import styles from './OverlayArrow.module.
|
|
7
|
+
import styles from './OverlayArrow.module.css.mjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* An OverlayArrow renders a custom arrow element relative to an overlay element
|
|
@@ -7,7 +7,7 @@ import 'use-debounce';
|
|
|
7
7
|
import { useReversedColors } from '../utils/ReversedColors/ReversedColors.mjs';
|
|
8
8
|
import { mergeClassNames } from '../utils/mergeClassNames.mjs';
|
|
9
9
|
import { OverlayArrow } from './OverlayArrow.mjs';
|
|
10
|
-
import styles from './Tooltip.module.
|
|
10
|
+
import styles from './Tooltip.module.css.mjs';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* A tooltip displays a description of an element on hover or focus.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
-
import styles from './VisuallyHidden.module.
|
|
4
|
+
import styles from './VisuallyHidden.module.css.mjs';
|
|
5
5
|
const VisuallyHidden = /*#__PURE__*/function () {
|
|
6
6
|
const VisuallyHidden = function (_a) {
|
|
7
7
|
var children = _a.children,
|