@kaizen/components 2.3.6 → 2.4.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/Container/Container.cjs +1 -1
- package/dist/cjs/src/Container/{Container.module.scss.cjs → Container.module.css.cjs} +1 -1
- 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/Illustration/Spot/Spot.cjs +9 -0
- package/dist/cjs/src/Tag/Tag.cjs +1 -1
- package/dist/cjs/src/Tag/Tag.module.css.cjs +30 -0
- package/dist/cjs/src/TimeField/TimeField.cjs +6 -1
- 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/Container/Container.mjs +1 -1
- package/dist/esm/src/Container/Container.module.css.mjs +4 -0
- 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/Illustration/Spot/Spot.mjs +8 -1
- package/dist/esm/src/Tag/Tag.mjs +1 -1
- package/dist/esm/src/Tag/Tag.module.css.mjs +28 -0
- package/dist/esm/src/TimeField/TimeField.mjs +7 -2
- package/dist/esm/src/VisuallyHidden/VisuallyHidden.mjs +1 -1
- package/dist/esm/src/VisuallyHidden/VisuallyHidden.module.css.mjs +4 -0
- package/dist/styles.css +220 -151
- package/dist/types/Illustration/Spot/Spot.d.ts +5 -0
- package/package.json +1 -1
- package/src/Container/Container.tsx +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/Illustration/Spot/Spot.tsx +6 -0
- package/src/Illustration/Spot/_docs/Spot.stickersheet.stories.tsx +22 -0
- package/src/Tag/Tag.module.css +217 -0
- package/src/Tag/Tag.tsx +1 -1
- package/src/TimeField/TimeField.tsx +8 -2
- package/src/TitleBlock/TitleBlock.module.scss +14 -12
- 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/Tag/Tag.module.scss.cjs +0 -30
- package/dist/esm/src/Container/Container.module.scss.mjs +0 -4
- 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/Tag/Tag.module.scss.mjs +0 -28
- 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/Tag/Tag.module.scss +0 -215
- /package/src/Container/{Container.module.scss → Container.module.css} +0 -0
- /package/src/VisuallyHidden/{VisuallyHidden.module.scss → VisuallyHidden.module.css} +0 -0
package/dist/cjs/index.cjs
CHANGED
|
@@ -355,6 +355,8 @@ exports.NewWaysOfWorking = Spot.NewWaysOfWorking;
|
|
|
355
355
|
exports.NewYork = Spot.NewYork;
|
|
356
356
|
exports.Objective = Spot.Objective;
|
|
357
357
|
exports.OneOnOne = Spot.OneOnOne;
|
|
358
|
+
exports.PCDPulseSurvey = Spot.PCDPulseSurvey;
|
|
359
|
+
exports.PCDSurvey = Spot.PCDSurvey;
|
|
358
360
|
exports.PaperPen = Spot.PaperPen;
|
|
359
361
|
exports.PartialImport = Spot.PartialImport;
|
|
360
362
|
exports.PerformanceDiagnostics = Spot.PerformanceDiagnostics;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib = require('tslib');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var classnames = require('classnames');
|
|
6
|
-
var Container_module = require('./Container.module.
|
|
6
|
+
var Container_module = require('./Container.module.css.cjs');
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib = require('tslib');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var classnames = require('classnames');
|
|
6
|
-
var Content_module = require('./Content.module.
|
|
6
|
+
var Content_module = require('./Content.module.css.cjs');
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib = require('tslib');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var classnames = require('classnames');
|
|
6
|
-
var Divider_module = require('./Divider.module.
|
|
6
|
+
var Divider_module = require('./Divider.module.css.cjs');
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var styles = {
|
|
4
|
+
"wrapper": "Divider-module_wrapper__AzvdU",
|
|
5
|
+
"content": "Divider-module_content__eq5aD",
|
|
6
|
+
"menuSeparator": "Divider-module_menuSeparator__FAvna",
|
|
7
|
+
"canvas": "Divider-module_canvas__G87W-",
|
|
8
|
+
"reversed": "Divider-module_reversed__GuBmn"
|
|
9
|
+
};
|
|
10
|
+
module.exports = styles;
|
|
@@ -11,7 +11,7 @@ require('../Illustration/Scene/BrandMomentCaptureIntro/BrandMomentCaptureIntro.c
|
|
|
11
11
|
var Scene = require('../Illustration/Scene/Scene.cjs');
|
|
12
12
|
var Text = require('../Text/Text.cjs');
|
|
13
13
|
var useErrorMessages = require('./hooks/useErrorMessages.cjs');
|
|
14
|
-
var ErrorPage_module = require('./ErrorPage.module.
|
|
14
|
+
var ErrorPage_module = require('./ErrorPage.module.css.cjs');
|
|
15
15
|
function _interopDefault(e) {
|
|
16
16
|
return e && e.__esModule ? e : {
|
|
17
17
|
default: e
|
|
@@ -35,6 +35,13 @@ var Negative = createSpotIllustration("moods-negative.svg");
|
|
|
35
35
|
var Positive = createSpotIllustration("moods-positive.svg");
|
|
36
36
|
/* prettier-ignore */
|
|
37
37
|
var Assertive = createSpotIllustration("moods-assertive.svg");
|
|
38
|
+
/**
|
|
39
|
+
* Template Library / PCD
|
|
40
|
+
*/
|
|
41
|
+
/* prettier-ignore */
|
|
42
|
+
var PCDSurvey = createSpotIllustration("template-library-pcq-survey-full.svg");
|
|
43
|
+
/* prettier-ignore */
|
|
44
|
+
var PCDPulseSurvey = createSpotIllustration("template-library-pcq-survey-pulse.svg");
|
|
38
45
|
/**
|
|
39
46
|
* Template Library / Engagement
|
|
40
47
|
*/
|
|
@@ -398,6 +405,8 @@ exports.NewWaysOfWorking = NewWaysOfWorking;
|
|
|
398
405
|
exports.NewYork = NewYork;
|
|
399
406
|
exports.Objective = Objective;
|
|
400
407
|
exports.OneOnOne = OneOnOne;
|
|
408
|
+
exports.PCDPulseSurvey = PCDPulseSurvey;
|
|
409
|
+
exports.PCDSurvey = PCDSurvey;
|
|
401
410
|
exports.PaperPen = PaperPen;
|
|
402
411
|
exports.PartialImport = PartialImport;
|
|
403
412
|
exports.PerformanceDiagnostics = PerformanceDiagnostics;
|
package/dist/cjs/src/Tag/Tag.cjs
CHANGED
|
@@ -6,7 +6,7 @@ var classnames = require('classnames');
|
|
|
6
6
|
var Avatar = require('../Avatar/Avatar.cjs');
|
|
7
7
|
var Icon = require('../Icon/Icon.cjs');
|
|
8
8
|
var LiveIcon = require('./subcomponents/LiveIcon/LiveIcon.cjs');
|
|
9
|
-
var Tag_module = require('./Tag.module.
|
|
9
|
+
var Tag_module = require('./Tag.module.css.cjs');
|
|
10
10
|
function _interopDefault(e) {
|
|
11
11
|
return e && e.__esModule ? e : {
|
|
12
12
|
default: e
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var styles = {
|
|
4
|
+
"root": "Tag-module_root__sGbnM",
|
|
5
|
+
"profile": "Tag-module_profile__lpDJR",
|
|
6
|
+
"layoutContainer": "Tag-module_layoutContainer__cPxSs",
|
|
7
|
+
"validationIcon": "Tag-module_validationIcon__i87BD",
|
|
8
|
+
"textContent": "Tag-module_textContent__61iwm",
|
|
9
|
+
"iconWrapper": "Tag-module_iconWrapper__gXgCb",
|
|
10
|
+
"dismissButton": "Tag-module_dismissButton__MgLNJ",
|
|
11
|
+
"background": "Tag-module_background__DaA0W",
|
|
12
|
+
"truncate": "Tag-module_truncate__5kX5V",
|
|
13
|
+
"inline": "Tag-module_inline__QQfqi",
|
|
14
|
+
"medium": "Tag-module_medium__PI53x",
|
|
15
|
+
"small": "Tag-module_small__hcPrf",
|
|
16
|
+
"default": "Tag-module_default__Wq9hK",
|
|
17
|
+
"sentimentPositive": "Tag-module_sentimentPositive__M4lXI",
|
|
18
|
+
"sentimentNeutral": "Tag-module_sentimentNeutral__uxZ6y",
|
|
19
|
+
"sentimentNegative": "Tag-module_sentimentNegative__JxDtU",
|
|
20
|
+
"sentimentNone": "Tag-module_sentimentNone__vDXoz",
|
|
21
|
+
"validationPositive": "Tag-module_validationPositive__KXW2z",
|
|
22
|
+
"validationInformative": "Tag-module_validationInformative__wJlj5",
|
|
23
|
+
"validationNegative": "Tag-module_validationNegative__CEuAp",
|
|
24
|
+
"validationCautionary": "Tag-module_validationCautionary__ay3Dg",
|
|
25
|
+
"statusLive": "Tag-module_statusLive__Ycm63",
|
|
26
|
+
"statusAction": "Tag-module_statusAction__Gdpew",
|
|
27
|
+
"statusClosed": "Tag-module_statusClosed__9Ggv1",
|
|
28
|
+
"statusDraft": "Tag-module_statusDraft__m3ksY"
|
|
29
|
+
};
|
|
30
|
+
module.exports = styles;
|
|
@@ -50,8 +50,13 @@ var TimeFieldComponent = function (_a) {
|
|
|
50
50
|
minutes: timeValue.minute
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
|
+
var timeValue = React.useMemo(function () {
|
|
54
|
+
return value ? new date.Time(value.hour, value.minutes) : null;
|
|
55
|
+
},
|
|
56
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
57
|
+
[value === null || value === void 0 ? void 0 : value.hour, value === null || value === void 0 ? void 0 : value.minutes]);
|
|
53
58
|
var state = datepicker.useTimeFieldState(tslib.__assign(tslib.__assign({}, restProps), {
|
|
54
|
-
value:
|
|
59
|
+
value: timeValue,
|
|
55
60
|
onChange: handleOnChange,
|
|
56
61
|
isDisabled: isDisabled,
|
|
57
62
|
hideTimeZone: true,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib = require('tslib');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var classnames = require('classnames');
|
|
6
|
-
var VisuallyHidden_module = require('./VisuallyHidden.module.
|
|
6
|
+
var VisuallyHidden_module = require('./VisuallyHidden.module.css.cjs');
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
package/dist/esm/index.mjs
CHANGED
|
@@ -64,7 +64,7 @@ export { Focusable } from './src/Focusable/Focusable.mjs';
|
|
|
64
64
|
export { GuidanceBlock } from './src/GuidanceBlock/GuidanceBlock.mjs';
|
|
65
65
|
export { Heading } from './src/Heading/Heading.mjs';
|
|
66
66
|
export { Icon } from './src/Icon/Icon.mjs';
|
|
67
|
-
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 } from './src/Illustration/Spot/Spot.mjs';
|
|
67
|
+
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 } from './src/Illustration/Spot/Spot.mjs';
|
|
68
68
|
export { BrandMomentCaptureIntro } from './src/Illustration/Scene/BrandMomentCaptureIntro/BrandMomentCaptureIntro.mjs';
|
|
69
69
|
export { BrandMomentError, BrandMomentLogin, BrandMomentNewAccountOnboarding, BrandMomentPositiveOutro, BrandMomentStarterKit, BrandMomentUploadEmployeeData, Collaboration, Communication, CompanyValues, ConnectTheDots, CultureLab, EmptyStatesAction, EmptyStatesInformative, EmptyStatesNegative, EmptyStatesNeutral, EmptyStatesPositive, EngagementSurveySummaryFemale, EngagementSurveySummaryMale, Information360Upgrade, InformationDemographicFocus, InformationEmergingTrends, InformationEmployeeLifecycle, InformationReportOwner, InformationReportOwnerByRule, InformationTurnoverCalculator, InformationTurnoverForecast, PerformanceCompanySettings, Programs, SkillsCoach1On1Meetings, SkillsCoachCoaching, SkillsCoachEmployeeDevelopment, SkillsCoachEssentialFeedback, SkillsCoachEssentialProductivity, SkillsCoachEssentialResilience, SkillsCoachFeedback, SkillsCoachInfluentialCommunication, SkillsCoachLeadingChange, SkillsCoachManagerHub, SkillsCoachProductivity, SkillsCoachRemoteManager, SkillsCoachResilience, SkillsCoachStrategy, SurveyGetStarted, SurveyOverviewClosed, TermsAgreement } from './src/Illustration/Scene/Scene.mjs';
|
|
70
70
|
export { Input } from './src/Input/Input/Input.mjs';
|
|
@@ -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 './Container.module.
|
|
4
|
+
import styles from './Container.module.css.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3086156812/Layout Guidance} |
|
|
@@ -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 './Content.module.
|
|
4
|
+
import styles from './Content.module.css.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3086156812/Layout Guidance} |
|
|
@@ -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 './Divider.module.
|
|
4
|
+
import styles from './Divider.module.css.mjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* {@link https://cultureamp.atlassian.net/wiki/spaces/DesignSystem/pages/3082061035/Divider Guidance} |
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"wrapper": "Divider-module_wrapper__AzvdU",
|
|
3
|
+
"content": "Divider-module_content__eq5aD",
|
|
4
|
+
"menuSeparator": "Divider-module_menuSeparator__FAvna",
|
|
5
|
+
"canvas": "Divider-module_canvas__G87W-",
|
|
6
|
+
"reversed": "Divider-module_reversed__GuBmn"
|
|
7
|
+
};
|
|
8
|
+
export { styles as default };
|
|
@@ -9,7 +9,7 @@ import '../Illustration/Scene/BrandMomentCaptureIntro/BrandMomentCaptureIntro.mj
|
|
|
9
9
|
import { BrandMomentError } from '../Illustration/Scene/Scene.mjs';
|
|
10
10
|
import { Text } from '../Text/Text.mjs';
|
|
11
11
|
import { useErrorMessages } from './hooks/useErrorMessages.mjs';
|
|
12
|
-
import styles from './ErrorPage.module.
|
|
12
|
+
import styles from './ErrorPage.module.css.mjs';
|
|
13
13
|
var getMailToHref = function (code) {
|
|
14
14
|
var supportEmail = 'support@cultureamp.com';
|
|
15
15
|
var subject = 'Houston we have a problem';
|
|
@@ -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 };
|
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,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,
|
|
@@ -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,
|