optimized-react-component-library-xyz123 2.9.4 → 2.9.6
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/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -235,14 +235,14 @@ interface InfoOnlyProps {
|
|
|
235
235
|
|
|
236
236
|
declare const InputInfoOnly: FC<InfoOnlyProps>;
|
|
237
237
|
|
|
238
|
-
interface
|
|
238
|
+
interface RadioMultipleWithInfoProps {
|
|
239
239
|
question: IQuestion;
|
|
240
240
|
handleQuestionInputChange: any;
|
|
241
241
|
showPreview?: boolean;
|
|
242
242
|
activatedLanguage?: string;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
declare const RadioWithInfo: FC<
|
|
245
|
+
declare const RadioWithInfo: FC<RadioMultipleWithInfoProps>;
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
248
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
@@ -1052,4 +1052,4 @@ interface FormStatusMessagesProps {
|
|
|
1052
1052
|
*/
|
|
1053
1053
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
1054
1054
|
|
|
1055
|
-
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IAppSettings, type IAppSettingsCookies, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as
|
|
1055
|
+
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IAppSettings, type IAppSettingsCookies, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as RadioMultipleWithInfoStandard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextBody, TextFieldStandard, ValidationErrorSummaryList, buildStepCategoryGroupQuestionStructure, createApiDataObject, createCookieConsent, createFormSlice, createGlobalLanguageSlice, createGlobalLanguageSlice as createLanguageSlice, createFormSlice as createQuestionsSlice, findVisibleQuestionsWithValidationErrors, focusElement, getGroupCheckIds, hasQuestionValidationError, isQuestionDependencySatisfied, isScriptLoaded, makeFormSelectors, makeglobalLanguageSelectors as makeLanguageSelectors, makeFormSelectors as makeQuestionsSelectors, makeglobalLanguageSelectors, preparePreviewData, removeScriptById, toggleScriptByConsent, updateQuestionsAndCategoriesVisibilityAndErrors, useCookieConsent, useFormStatusModal, useInputMethodDetection, usePTSPageTitle };
|
package/dist/index.d.ts
CHANGED
|
@@ -235,14 +235,14 @@ interface InfoOnlyProps {
|
|
|
235
235
|
|
|
236
236
|
declare const InputInfoOnly: FC<InfoOnlyProps>;
|
|
237
237
|
|
|
238
|
-
interface
|
|
238
|
+
interface RadioMultipleWithInfoProps {
|
|
239
239
|
question: IQuestion;
|
|
240
240
|
handleQuestionInputChange: any;
|
|
241
241
|
showPreview?: boolean;
|
|
242
242
|
activatedLanguage?: string;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
declare const RadioWithInfo: FC<
|
|
245
|
+
declare const RadioWithInfo: FC<RadioMultipleWithInfoProps>;
|
|
246
246
|
|
|
247
247
|
/**
|
|
248
248
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
@@ -1052,4 +1052,4 @@ interface FormStatusMessagesProps {
|
|
|
1052
1052
|
*/
|
|
1053
1053
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
1054
1054
|
|
|
1055
|
-
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IAppSettings, type IAppSettingsCookies, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as
|
|
1055
|
+
export { AddFiles as AddFilesStandard, AlertInTextStandard, CheckboxGroup as CheckboxGroupStandard, Collapse, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IAppSettings, type IAppSettingsCookies, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, InputInfoOnly as InfoOnlyStandard, type LanguageSupportConfig, LinkList as LinkListStandard, LinkStandard, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, Navigation, NavigationHeader, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, RadioWithInfo as RadioMultipleWithInfoStandard, SearchBar, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, StepperButtonsNoApi as StepperButtonsNoApiStandard, StepperButtons as StepperButtonsStandard, Stepper as StepperStandard, InputTextarea as TextAreaStandard, TextBody, TextFieldStandard, ValidationErrorSummaryList, buildStepCategoryGroupQuestionStructure, createApiDataObject, createCookieConsent, createFormSlice, createGlobalLanguageSlice, createGlobalLanguageSlice as createLanguageSlice, createFormSlice as createQuestionsSlice, findVisibleQuestionsWithValidationErrors, focusElement, getGroupCheckIds, hasQuestionValidationError, isQuestionDependencySatisfied, isScriptLoaded, makeFormSelectors, makeglobalLanguageSelectors as makeLanguageSelectors, makeFormSelectors as makeQuestionsSelectors, makeglobalLanguageSelectors, preparePreviewData, removeScriptById, toggleScriptByConsent, updateQuestionsAndCategoriesVisibilityAndErrors, useCookieConsent, useFormStatusModal, useInputMethodDetection, usePTSPageTitle };
|
package/dist/index.js
CHANGED
|
@@ -50,7 +50,7 @@ __export(index_exports, {
|
|
|
50
50
|
QuestionGroup: () => QuestionGroup_default,
|
|
51
51
|
QuestionRenderer: () => QuestionRenderer_default,
|
|
52
52
|
RadioMultipleStandard: () => RadioMultipleStandard_default,
|
|
53
|
-
|
|
53
|
+
RadioMultipleWithInfoStandard: () => RadioMultipleWithInfoStandard_default,
|
|
54
54
|
SearchBar: () => SearchBarStandard_default,
|
|
55
55
|
SingleCheckboxStandard: () => SingleCheckboxStandard_default,
|
|
56
56
|
SkipLinkStandard: () => SkipLinkStandard_default,
|
|
@@ -2093,10 +2093,10 @@ var InputInfoOnly = ({
|
|
|
2093
2093
|
};
|
|
2094
2094
|
var InfoOnlyStandard_default = InputInfoOnly;
|
|
2095
2095
|
|
|
2096
|
-
// src/components/input-components/
|
|
2096
|
+
// src/components/input-components/RadioMultipleWithInfoStandard/RadioMultipleWithInfoStandard.tsx
|
|
2097
2097
|
var import_react11 = __toESM(require("react"));
|
|
2098
2098
|
|
|
2099
|
-
// src/components/input-components/
|
|
2099
|
+
// src/components/input-components/RadioMultipleWithInfoStandard/RadioCollapseItem.tsx
|
|
2100
2100
|
var import_react10 = require("react");
|
|
2101
2101
|
var import_dompurify6 = __toESM(require("dompurify"));
|
|
2102
2102
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
@@ -2186,7 +2186,7 @@ var RadioCollapseItem = ({
|
|
|
2186
2186
|
};
|
|
2187
2187
|
var RadioCollapseItem_default = RadioCollapseItem;
|
|
2188
2188
|
|
|
2189
|
-
// src/components/input-components/
|
|
2189
|
+
// src/components/input-components/RadioMultipleWithInfoStandard/RadioMultipleWithInfoStandard.tsx
|
|
2190
2190
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
2191
2191
|
var RadioWithInfo = ({
|
|
2192
2192
|
question,
|
|
@@ -2268,7 +2268,7 @@ var RadioWithInfo = ({
|
|
|
2268
2268
|
showPreview && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(PreviewRadio2, { question })
|
|
2269
2269
|
] });
|
|
2270
2270
|
};
|
|
2271
|
-
var
|
|
2271
|
+
var RadioMultipleWithInfoStandard_default = RadioWithInfo;
|
|
2272
2272
|
var PreviewRadio2 = ({ question }) => {
|
|
2273
2273
|
var _a, _b;
|
|
2274
2274
|
const previewId = `preview-${question.id}`;
|
|
@@ -3041,7 +3041,7 @@ var QuestionRenderer = ({
|
|
|
3041
3041
|
}
|
|
3042
3042
|
),
|
|
3043
3043
|
question.questionType === "RadioWithInfo" && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
3044
|
-
|
|
3044
|
+
RadioMultipleWithInfoStandard_default,
|
|
3045
3045
|
{
|
|
3046
3046
|
question,
|
|
3047
3047
|
handleQuestionInputChange,
|
|
@@ -4546,7 +4546,7 @@ var FormStatusMessagesScreenReader_default = FormStatusMessagesScreenReader;
|
|
|
4546
4546
|
QuestionGroup,
|
|
4547
4547
|
QuestionRenderer,
|
|
4548
4548
|
RadioMultipleStandard,
|
|
4549
|
-
|
|
4549
|
+
RadioMultipleWithInfoStandard,
|
|
4550
4550
|
SearchBar,
|
|
4551
4551
|
SingleCheckboxStandard,
|
|
4552
4552
|
SkipLinkStandard,
|