@useloops/design-system 1.4.451 → 1.4.453
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/esm/index.js +2 -2
- package/dist/index.d.ts +8 -7
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2317,9 +2317,17 @@ interface ProjectsProps {
|
|
|
2317
2317
|
}
|
|
2318
2318
|
declare const Projects: FunctionComponent<ProjectsProps>;
|
|
2319
2319
|
|
|
2320
|
+
type QuestionType = 'single-punch' | 'multi-punch' | 'slider' | 'likert' | 'rank' | 'open-question' | 'emoji' | 'focus';
|
|
2321
|
+
interface QuestionLabelProps extends PropsWithChildren {
|
|
2322
|
+
type?: QuestionType;
|
|
2323
|
+
loading?: boolean;
|
|
2324
|
+
}
|
|
2325
|
+
declare const QuestionLabel: FunctionComponent<QuestionLabelProps>;
|
|
2326
|
+
|
|
2320
2327
|
interface QuestionBlockProps {
|
|
2321
2328
|
preQuestionText?: string;
|
|
2322
2329
|
questionText: string;
|
|
2330
|
+
questionType?: QuestionType;
|
|
2323
2331
|
supportText?: string;
|
|
2324
2332
|
loading?: boolean;
|
|
2325
2333
|
slotProps?: {
|
|
@@ -2328,13 +2336,6 @@ interface QuestionBlockProps {
|
|
|
2328
2336
|
}
|
|
2329
2337
|
declare const QuestionBlock: FunctionComponent<QuestionBlockProps>;
|
|
2330
2338
|
|
|
2331
|
-
type QuestionType = 'single-punch' | 'multi-punch' | 'slider' | 'likert' | 'rank' | 'open-question' | 'emoji' | 'focus';
|
|
2332
|
-
interface QuestionLabelProps extends PropsWithChildren {
|
|
2333
|
-
type?: QuestionType;
|
|
2334
|
-
loading?: boolean;
|
|
2335
|
-
}
|
|
2336
|
-
declare const QuestionLabel: FunctionComponent<QuestionLabelProps>;
|
|
2337
|
-
|
|
2338
2339
|
interface SearchInputProps {
|
|
2339
2340
|
onChange?: (event: react__default.ChangeEvent<HTMLInputElement>) => void;
|
|
2340
2341
|
onFocus?: (event: react__default.FocusEvent<HTMLInputElement>) => void;
|