@discuss-ds/ui 0.9.2 → 0.10.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/CHANGELOG.md +14 -0
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -693,7 +693,7 @@ interface QuestionHeaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
|
693
693
|
}
|
|
694
694
|
declare const QuestionHeader: React.ForwardRefExoticComponent<QuestionHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
695
695
|
|
|
696
|
-
type QuestionType = 'select-one' | 'select-multiple' | 'ranking' | 'upload' | 'rating' | 'open-end';
|
|
696
|
+
type QuestionType = 'select-one' | 'select-multiple' | 'ranking' | 'upload' | 'rating' | 'open-end' | 'screen-recording';
|
|
697
697
|
interface QuestionTypeIconProps extends Omit<IconProps, 'weight'> {
|
|
698
698
|
type: QuestionType;
|
|
699
699
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -693,7 +693,7 @@ interface QuestionHeaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>,
|
|
|
693
693
|
}
|
|
694
694
|
declare const QuestionHeader: React.ForwardRefExoticComponent<QuestionHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
695
695
|
|
|
696
|
-
type QuestionType = 'select-one' | 'select-multiple' | 'ranking' | 'upload' | 'rating' | 'open-end';
|
|
696
|
+
type QuestionType = 'select-one' | 'select-multiple' | 'ranking' | 'upload' | 'rating' | 'open-end' | 'screen-recording';
|
|
697
697
|
interface QuestionTypeIconProps extends Omit<IconProps, 'weight'> {
|
|
698
698
|
type: QuestionType;
|
|
699
699
|
}
|
package/dist/index.js
CHANGED
|
@@ -2738,7 +2738,7 @@ import { Slot as Slot3 } from "radix-ui";
|
|
|
2738
2738
|
|
|
2739
2739
|
// src/components/Question Types/QuestionTypeIcon.tsx
|
|
2740
2740
|
import "react";
|
|
2741
|
-
import { ChatsCircle, CheckSquare, FileArrowUp, ListNumbers, RadioButton, StarHalf } from "@phosphor-icons/react";
|
|
2741
|
+
import { ChatsCircle, CheckSquare, FileArrowUp, ListNumbers, RadioButton, StarHalf, VideoCamera } from "@phosphor-icons/react";
|
|
2742
2742
|
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
2743
2743
|
var icons = {
|
|
2744
2744
|
"select-one": RadioButton,
|
|
@@ -2746,7 +2746,8 @@ var icons = {
|
|
|
2746
2746
|
ranking: ListNumbers,
|
|
2747
2747
|
upload: FileArrowUp,
|
|
2748
2748
|
rating: StarHalf,
|
|
2749
|
-
"open-end": ChatsCircle
|
|
2749
|
+
"open-end": ChatsCircle,
|
|
2750
|
+
"screen-recording": VideoCamera
|
|
2750
2751
|
};
|
|
2751
2752
|
function QuestionTypeIcon({ type, size = 22.5, className, ...props }) {
|
|
2752
2753
|
const Icon = icons[type];
|