optimized-react-component-library-xyz123 0.10.9 → 0.11.1
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.css +0 -33
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +1 -9
- package/dist/index.d.ts +1 -9
- package/dist/index.js +244 -321
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +245 -321
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/darkMode.css +10 -0
- package/src/css/mobileView.css +9 -0
- package/src/css/styles.css +20 -2
package/dist/index.css
CHANGED
|
@@ -1,35 +1,2 @@
|
|
|
1
1
|
/* src/components/input-components/AddFilesStandard/AddFilesStandard.css */
|
|
2
|
-
/* src/components/input-components/DropdownStandard/DropdownStandard.css */
|
|
3
|
-
.pts-dropdown-container {
|
|
4
|
-
margin-bottom: 1.5rem;
|
|
5
|
-
}
|
|
6
|
-
.pts-dropdown-container label {
|
|
7
|
-
display: block;
|
|
8
|
-
margin-bottom: 0.5rem;
|
|
9
|
-
font-weight: 500;
|
|
10
|
-
}
|
|
11
|
-
.pts-dropdown-container select {
|
|
12
|
-
display: block;
|
|
13
|
-
width: 100%;
|
|
14
|
-
padding-right: 2.4em;
|
|
15
|
-
padding-left: 0.6em;
|
|
16
|
-
border: #747474 1px solid;
|
|
17
|
-
box-shadow: none;
|
|
18
|
-
margin: 0;
|
|
19
|
-
height: 42px;
|
|
20
|
-
word-wrap: normal;
|
|
21
|
-
text-transform: none;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
border-radius: 6px;
|
|
24
|
-
font-family: Arial;
|
|
25
|
-
font-size: 16px;
|
|
26
|
-
background-image: url(https://dsa.pts.se/images/arrow.svg);
|
|
27
|
-
background-repeat: no-repeat;
|
|
28
|
-
background-position: right 14px center;
|
|
29
|
-
background-size: 1em;
|
|
30
|
-
-webkit-appearance: none;
|
|
31
|
-
-moz-appearance: none;
|
|
32
|
-
appearance: none;
|
|
33
|
-
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
|
34
|
-
}
|
|
35
2
|
/*# sourceMappingURL=index.css.map */
|
package/dist/index.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/index.d.mts
CHANGED
|
@@ -180,14 +180,6 @@ interface SingleCheckboxProps {
|
|
|
180
180
|
|
|
181
181
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
182
182
|
|
|
183
|
-
interface DropdownProps {
|
|
184
|
-
question: IQuestion;
|
|
185
|
-
handleQuestionInputChange: any;
|
|
186
|
-
showPreview?: boolean;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
declare const CustomDropdownStandard: FC<DropdownProps>;
|
|
190
|
-
|
|
191
183
|
/**
|
|
192
184
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
193
185
|
*
|
|
@@ -863,4 +855,4 @@ interface FormStatusMessagesProps {
|
|
|
863
855
|
*/
|
|
864
856
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
865
857
|
|
|
866
|
-
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig,
|
|
858
|
+
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, type LanguageSupportConfig, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, 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
|
@@ -180,14 +180,6 @@ interface SingleCheckboxProps {
|
|
|
180
180
|
|
|
181
181
|
declare const SingleCheckbox: FC<SingleCheckboxProps>;
|
|
182
182
|
|
|
183
|
-
interface DropdownProps {
|
|
184
|
-
question: IQuestion;
|
|
185
|
-
handleQuestionInputChange: any;
|
|
186
|
-
showPreview?: boolean;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
declare const CustomDropdownStandard: FC<DropdownProps>;
|
|
190
|
-
|
|
191
183
|
/**
|
|
192
184
|
* Kontrollerar om en fråga har ett valideringsfel baserat på dess egenskaper och valideringstyper.
|
|
193
185
|
*
|
|
@@ -863,4 +855,4 @@ interface FormStatusMessagesProps {
|
|
|
863
855
|
*/
|
|
864
856
|
declare const FormStatusMessagesScreenReader: React$1.FC<FormStatusMessagesProps>;
|
|
865
857
|
|
|
866
|
-
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig,
|
|
858
|
+
export { AddFiles as AddFilesStandard, CheckboxGroup as CheckboxGroupStandard, CookieBanner, type CookieConsentConfig, EditPreviewLink as EditPreviewLinkStandard, Footer as FooterStandard, FormStatusMessagesScreenReader, Header as HeaderStandard, type IApplicationContent, type IFormState, type IOption, type IPTSLink, type IQuestion, type IQuestionExtraAttribute, type IStepObject, type IStepQuestionData, type ITextBlock, type LanguageSupportConfig, Modal as ModalStandard, MultipleCheckboxes as MultipleCheckboxesStandard, PrincipleOfPublicity as PrincipleOfPublicityStandard, QuestionGroup, QuestionRenderer, InputRadio as RadioMultipleStandard, SingleCheckbox as SingleCheckboxStandard, SkipLink as SkipLinkStandard, StartApplicationButton, 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 };
|