@nice2dev/ui-presentations 1.0.11 → 1.0.14
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/README.md +19 -0
- package/dist/NicePinCodeInput-CDtodnIM-BeoRuPrJ.js +10669 -0
- package/dist/NicePinCodeInput-CDtodnIM-EzCKJNkQ.cjs +419 -0
- package/dist/NicePinCodeInput-jMNfPqOx-DAPB40Sz.cjs +419 -0
- package/dist/NicePinCodeInput-jMNfPqOx-DM4om-_N.js +10660 -0
- package/dist/NiceSavedQueryPanel-BkYRk5cX-D-bcE2B1.cjs +596 -0
- package/dist/NiceSavedQueryPanel-BkYRk5cX-wbPDNPZw.js +6602 -0
- package/dist/NiceSavedQueryPanel-DJqCNWYZ-CBkaf_-l.cjs +596 -0
- package/dist/NiceSavedQueryPanel-DJqCNWYZ-CDhyL9ho.js +6607 -0
- package/dist/charts-F_b5-OR8-CGmclWXK.cjs +544 -0
- package/dist/charts-F_b5-OR8-Dmvf95aH.js +3844 -0
- package/dist/charts-fO6InNZd-IGi8U8H_.cjs +546 -0
- package/dist/charts-fO6InNZd-OukyI3JD.js +3868 -0
- package/dist/components/SlideCanvas.d.ts +4 -4
- package/dist/components/SlideCanvas.d.ts.map +1 -1
- package/dist/components/SlidePropertyPanel.d.ts +3 -3
- package/dist/components/SlidePropertyPanel.d.ts.map +1 -1
- package/dist/components/SlideThumbnailList.d.ts +4 -4
- package/dist/components/SlideThumbnailList.d.ts.map +1 -1
- package/dist/core/PresentationModel.d.ts +8 -8
- package/dist/core/PresentationModel.d.ts.map +1 -1
- package/dist/core/customTransitions.d.ts.map +1 -1
- package/dist/core/querySlide.d.ts +1 -1
- package/dist/core/querySlide.d.ts.map +1 -1
- package/dist/core/slideAnimationEngine.d.ts +2 -2
- package/dist/core/slideAnimationEngine.d.ts.map +1 -1
- package/dist/index-3T2JUEde.cjs +550 -0
- package/dist/index-BOxCyLxc.cjs +550 -0
- package/dist/index-BU6KCDpP-C-tF2afa.cjs +4504 -0
- package/dist/index-BU6KCDpP-CuWVg2cB.js +35436 -0
- package/dist/index-DBotYTUg.js +31958 -0
- package/dist/index-DHc_KZkF-DBwyAprO.cjs +4504 -0
- package/dist/index-DHc_KZkF-DJ9D7N6n.js +39279 -0
- package/dist/index-DhypNAIs.js +31807 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +31 -31
- package/dist/puppetShow/gameEngineIntegration.d.ts +1 -1
- package/dist/puppetShow/gameEngineIntegration.d.ts.map +1 -1
- package/dist/puppetShow/puppetCharacter.d.ts.map +1 -1
- package/dist/puppetShow/puppetStage.d.ts +11 -11
- package/dist/puppetShow/puppetStage.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BOxCyLxc.cjs");exports.BRAND_KIT_CORPORATE=e.BRAND_KIT_CORPORATE;exports.BRAND_KIT_NICE2DEV=e.BRAND_KIT_NICE2DEV;exports.BRAND_KIT_STARTUP=e.BRAND_KIT_STARTUP;exports.BUILT_IN_TRANSITIONS=e.BUILT_IN_TRANSITIONS;exports.BackgroundRenderer=e.BackgroundRenderer;exports.CharacterRegistry=e.CharacterRegistry;exports.DEFAULT_KPI_COLORS=e.DEFAULT_KPI_COLORS;exports.DialogueBox=e.DialogueBox;exports.EffectRenderer=e.EffectRenderer;exports.InteractiveButton=e.InteractiveButton;exports.InteractiveCountdown=e.InteractiveCountdown;exports.InteractivePoll=e.InteractivePoll;exports.InteractiveQnA=e.InteractiveQnA;exports.InteractiveQuiz=e.InteractiveQuiz;exports.NiceI18nProvider=e.NiceI18nProvider;exports.NicePresentationEditor=e.NicePresentationEditor;exports.NicePresentationPlayer=e.NicePresentationPlayer;exports.NicePresentationToolbar=e.PresentationToolbar;exports.NiceSlideCanvas=e.SlideCanvas;exports.NiceSlidePropertyPanel=e.SlidePropertyPanel;exports.NiceSlideThumbnailList=e.SlideThumbnailList;exports.PresentationModel=e.PresentationModel;exports.PresentationToolbar=e.PresentationToolbar;exports.PresentationVersionManager=e.PresentationVersionManager;exports.PuppetAnimationController=e.PuppetAnimationController;exports.PuppetCharacter=e.PuppetCharacter;exports.PuppetSceneBuilder=e.PuppetSceneBuilder;exports.PuppetShowMiniPlayer=e.PuppetShowMiniPlayer;exports.PuppetShowPlayer=e.PuppetShowPlayer;exports.PuppetStage=e.PuppetStage;exports.SLIDE_16_9=e.SLIDE_16_9;exports.SLIDE_4_3=e.SLIDE_4_3;exports.SLIDE_WIDESCREEN=e.SLIDE_WIDESCREEN;exports.SlideCanvas=e.SlideCanvas;exports.SlideLibraryManager=e.SlideLibraryManager;exports.SlidePropertyPanel=e.SlidePropertyPanel;exports.SlideThumbnailList=e.SlideThumbnailList;exports.THEME_CORPORATE=e.THEME_CORPORATE;exports.THEME_MINIMAL=e.THEME_MINIMAL;exports.THEME_MODERN_DARK=e.THEME_MODERN_DARK;exports.THEME_NICE2DEV=e.THEME_NICE2DEV;exports.TRANSITION_BLUR_FADE=e.TRANSITION_BLUR_FADE;exports.TRANSITION_CIRCLE_REVEAL=e.TRANSITION_CIRCLE_REVEAL;exports.TRANSITION_CUBE_LEFT=e.TRANSITION_CUBE_LEFT;exports.TRANSITION_FADE=e.TRANSITION_FADE;exports.TRANSITION_FLIP_HORIZONTAL=e.TRANSITION_FLIP_HORIZONTAL;exports.TRANSITION_FLIP_VERTICAL=e.TRANSITION_FLIP_VERTICAL;exports.TRANSITION_GLITCH=e.TRANSITION_GLITCH;exports.TRANSITION_MORPH=e.TRANSITION_MORPH;exports.TRANSITION_ROTATE_IN=e.TRANSITION_ROTATE_IN;exports.TRANSITION_SLIDE_DOWN=e.TRANSITION_SLIDE_DOWN;exports.TRANSITION_SLIDE_LEFT=e.TRANSITION_SLIDE_LEFT;exports.TRANSITION_SLIDE_RIGHT=e.TRANSITION_SLIDE_RIGHT;exports.TRANSITION_SLIDE_UP=e.TRANSITION_SLIDE_UP;exports.TRANSITION_WIPE_LEFT=e.TRANSITION_WIPE_LEFT;exports.TRANSITION_WIPE_RIGHT=e.TRANSITION_WIPE_RIGHT;exports.TRANSITION_ZOOM_IN=e.TRANSITION_ZOOM_IN;exports.TRANSITION_ZOOM_OUT=e.TRANSITION_ZOOM_OUT;exports.TimelineEngine=e.TimelineEngine;exports.TimelineTrackBuilder=e.TimelineTrackBuilder;exports.addAnimationToCharacter=e.addAnimationToCharacter;exports.addExpressionToCharacter=e.addExpressionToCharacter;exports.applyBrandKit=e.applyBrandKit;exports.applyEasing=e.applyEasing;exports.applyFiltersToData=e.applyFiltersToData;exports.applySortToData=e.applySortToData;exports.brandKitToTheme=e.brandKitToTheme;exports.calculateSummaryRow=e.calculateSummaryRow;exports.cloneTimeline=e.cloneTimeline;exports.computeCustomTransitionState=e.computeCustomTransitionState;exports.computeElementState=e.computeElementState;exports.computeKPIStatus=e.computeKPIStatus;exports.computeTransitionState=e.computeTransitionState;exports.computeTrend=e.computeTrend;exports.createCharacterFromSpriteSheet=e.createCharacterFromSpriteSheet;exports.createComparisonWidget=e.createComparisonWidget;exports.createContactSlide=e.createContactSlide;exports.createCustomTransition=e.createCustomTransition;exports.createCustomerCountWidget=e.createCustomerCountWidget;exports.createDashboardSlide=e.createDashboardSlide;exports.createDataGridSlide=e.createDataGridSlide;exports.createEmployeeDataGrid=e.createEmployeeDataGrid;exports.createExecutiveDashboard=e.createExecutiveDashboard;exports.createFeedbackSlide=e.createFeedbackSlide;exports.createKQLQuerySlide=e.createKQLQuerySlide;exports.createMultiQRSlide=e.createMultiQRSlide;exports.createODataQuerySlide=e.createODataQuerySlide;exports.createOperationalDashboard=e.createOperationalDashboard;exports.createPercentageGauge=e.createPercentageGauge;exports.createPollSlide=e.createPollSlide;exports.createPresentationLinkSlide=e.createPresentationLinkSlide;exports.createQRCodeSlide=e.createQRCodeSlide;exports.createQuerySlide=e.createQuerySlide;exports.createRevenueWidget=e.createRevenueWidget;exports.createSalesDataGrid=e.createSalesDataGrid;exports.createSalesQuerySlide=e.createSalesQuerySlide;exports.createSampleArchitectureData=e.createSampleArchitectureData;exports.createSampleIncidentReportData=e.createSampleIncidentReportData;exports.createSampleOnboardingData=e.createSampleOnboardingData;exports.createSampleProductPitchData=e.createSampleProductPitchData;exports.createSampleQuarterlyReportData=e.createSampleQuarterlyReportData;exports.createSampleSprintReviewData=e.createSampleSprintReviewData;exports.createSparklineTrend=e.createSparklineTrend;exports.createSpriteSheetFromFrames=e.createSpriteSheetFromFrames;exports.createTrafficLight=e.createTrafficLight;exports.createWiFiSlide=e.createWiFiSlide;exports.detectBestVisualization=e.detectBestVisualization;exports.easingFunctions=e.easingFunctions;exports.encodeQRContent=e.encodeQRContent;exports.exportCharacterToEntity=e.exportCharacterToEntity;exports.exportCharacterToSprite=e.exportCharacterToSprite;exports.exportToHtml=e.exportToHtml;exports.extractQueryParameters=e.extractQueryParameters;exports.formatCellValue=e.formatCellValue;exports.formatKPIValue=e.formatKPIValue;exports.formatTime=e.formatTime;exports.framesToTime=e.framesToTime;exports.generateArchitectureOverview=e.generateArchitectureOverview;exports.generateChartConfig=e.generateChartConfig;exports.generateIncidentReport=e.generateIncidentReport;exports.generateOnboarding=e.generateOnboarding;exports.generateProductPitch=e.generateProductPitch;exports.generateQuarterlyReport=e.generateQuarterlyReport;exports.generateSprintReview=e.generateSprintReview;exports.getConditionalStyle=e.getConditionalStyle;exports.getEasingFunction=e.getEasingFunction;exports.getSceneDuration=e.getSceneDuration;exports.getTrackDuration=e.getTrackDuration;exports.importAssetAsProp=e.importAssetAsProp;exports.importEntityAsCharacter=e.importEntityAsCharacter;exports.importProjectCharacters=e.importProjectCharacters;exports.importProjectProps=e.importProjectProps;exports.importSpriteAsCharacter=e.importSpriteAsCharacter;exports.lerp=e.lerp;exports.lerpPosition=e.lerpPosition;exports.mapTransitionEffectToId=e.mapTransitionEffectToId;exports.mergePuppetShows=e.mergePuppetShows;exports.parseNdpJson=e.parseNdpJson;exports.parseSpriteSheetGrid=e.parseSpriteSheetGrid;exports.parseTime=e.parseTime;exports.presentationToPuppetShow=e.presentationToPuppetShow;exports.puppetShowToPresentation=e.puppetShowToPresentation;exports.removeBrandKit=e.removeBrandKit;exports.renderCharacterToCanvas=e.renderCharacterToCanvas;exports.renderChartSvg=e.renderChartSvg;exports.stringifyNdpJson=e.stringifyNdpJson;exports.substituteParameters=e.substituteParameters;exports.syncPresentationToYjs=e.syncPresentationToYjs;exports.syncYjsToPresentation=e.syncYjsToPresentation;exports.timeToFrames=e.timeToFrames;exports.transitionRegistry=e.transitionRegistry;exports.transitionToKeyframes=e.transitionToKeyframes;exports.useCameraShake=e.useCameraShake;exports.useCharacterRegistry=e.useCharacterRegistry;exports.useCollaborativePresentation=e.useCollaborativePresentation;exports.useNiceTranslation=e.useNiceTranslation;exports.usePresentationEditor=e.usePresentationEditor;exports.usePuppetAnimation=e.usePuppetAnimation;exports.usePuppetPlayer=e.usePuppetPlayer;exports.usePuppetShowPlayer=e.usePuppetShowPlayer;exports.usePuppetStage=e.usePuppetStage;exports.validateParameters=e.validateParameters;exports.validateProjectForImport=e.validateProjectForImport;exports.validatePuppetShowDocument=e.validatePuppetShowDocument;
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Z as t, a0 as s, a1 as r, a2 as i, a3 as n, a4 as o, a5 as c, a6 as T, a7 as p, a8 as S, a9 as l, aa as b, ab as I, ac as u, ad as d, ae as P, af as N, ag as m, ah as R, ai as E, aj as _, ak as A, ag as C, al as O, am as g, an as h, ao as D, ap as y, aq as L, ar as v, as as F, at as f, au as M, ah as B, av as Q, ai as w, aj as K, aw as H, ax as k, ay as x, az as G, aA as V, aB as W, aC as j, aD as U, aE as Z, aF as z, aG as J, aH as Y, aI as q, aJ as X, aK as $, aL as aa, aM as ea, aN as ta, aO as sa, aP as ra, aQ as ia, aR as na, aS as oa, aT as ca, aU as Ta, aV as pa, aW as Sa, aX as la, aY as ba, aZ as Ia, a_ as ua, a$ as da, b0 as Pa, b1 as Na, b2 as ma, b3 as Ra, b4 as Ea, b5 as _a, b6 as Aa, b7 as Ca, b8 as Oa, b9 as ga, ba as ha, bb as Da, bc as ya, bd as La, be as va, bf as Fa, bg as fa, bh as Ma, bi as Ba, bj as Qa, bk as wa, bl as Ka, bm as Ha, bn as ka, bo as xa, bp as Ga, bq as Va, br as Wa, bs as ja, bt as Ua, bu as Za, bv as za, bw as Ja, bx as Ya, by as qa, bz as Xa, bA as $a, bB as ae, bC as ee, bD as te, bE as se, bF as re, bG as ie, bH as ne, bI as oe, bJ as ce, bK as Te, bL as pe, bM as Se, bN as le, bO as be, bP as Ie, bQ as ue, bR as de, bS as Pe, bT as Ne, bU as me, bV as Re, bW as Ee, bX as _e, bY as Ae, bZ as Ce, b_ as Oe, b$ as ge, c0 as he, c1 as De, c2 as ye, c3 as Le, c4 as ve, c5 as Fe, c6 as fe, c7 as Me, c8 as Be, c9 as Qe, ca as we, cb as Ke, cc as He, cd as ke, ce as xe, cf as Ge, cg as Ve, ch as We, ci as je, cj as Ue, ck as Ze, cl as ze, cm as Je, cn as Ye, co as qe, cp as Xe, cq as $e, cr as at, cs as et, ct as tt, cu as st } from "./index-DBotYTUg.js";
|
|
2
2
|
export {
|
|
3
3
|
t as BRAND_KIT_CORPORATE,
|
|
4
4
|
s as BRAND_KIT_NICE2DEV,
|
|
@@ -13,8 +13,8 @@ export {
|
|
|
13
13
|
l as InteractiveCountdown,
|
|
14
14
|
b as InteractivePoll,
|
|
15
15
|
I as InteractiveQnA,
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
u as InteractiveQuiz,
|
|
17
|
+
d as NiceI18nProvider,
|
|
18
18
|
P as NicePresentationEditor,
|
|
19
19
|
N as NicePresentationPlayer,
|
|
20
20
|
m as NicePresentationToolbar,
|
|
@@ -25,8 +25,8 @@ export {
|
|
|
25
25
|
C as PresentationToolbar,
|
|
26
26
|
O as PresentationVersionManager,
|
|
27
27
|
g as PuppetAnimationController,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
h as PuppetCharacter,
|
|
29
|
+
D as PuppetSceneBuilder,
|
|
30
30
|
y as PuppetShowMiniPlayer,
|
|
31
31
|
L as PuppetShowPlayer,
|
|
32
32
|
v as PuppetStage,
|
|
@@ -38,13 +38,13 @@ export {
|
|
|
38
38
|
w as SlidePropertyPanel,
|
|
39
39
|
K as SlideThumbnailList,
|
|
40
40
|
H as THEME_CORPORATE,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
k as THEME_MINIMAL,
|
|
42
|
+
x as THEME_MODERN_DARK,
|
|
43
|
+
G as THEME_NICE2DEV,
|
|
44
|
+
V as TRANSITION_BLUR_FADE,
|
|
45
45
|
W as TRANSITION_CIRCLE_REVEAL,
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
j as TRANSITION_CUBE_LEFT,
|
|
47
|
+
U as TRANSITION_FADE,
|
|
48
48
|
Z as TRANSITION_FLIP_HORIZONTAL,
|
|
49
49
|
z as TRANSITION_FLIP_VERTICAL,
|
|
50
50
|
J as TRANSITION_GLITCH,
|
|
@@ -67,8 +67,8 @@ export {
|
|
|
67
67
|
la as applyFiltersToData,
|
|
68
68
|
ba as applySortToData,
|
|
69
69
|
Ia as brandKitToTheme,
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
ua as calculateSummaryRow,
|
|
71
|
+
da as cloneTimeline,
|
|
72
72
|
Pa as computeCustomTransitionState,
|
|
73
73
|
Na as computeElementState,
|
|
74
74
|
ma as computeKPIStatus,
|
|
@@ -79,8 +79,8 @@ export {
|
|
|
79
79
|
Ca as createContactSlide,
|
|
80
80
|
Oa as createCustomTransition,
|
|
81
81
|
ga as createCustomerCountWidget,
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
ha as createDashboardSlide,
|
|
83
|
+
Da as createDataGridSlide,
|
|
84
84
|
ya as createEmployeeDataGrid,
|
|
85
85
|
La as createExecutiveDashboard,
|
|
86
86
|
va as createFeedbackSlide,
|
|
@@ -92,13 +92,13 @@ export {
|
|
|
92
92
|
wa as createPollSlide,
|
|
93
93
|
Ka as createPresentationLinkSlide,
|
|
94
94
|
Ha as createQRCodeSlide,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
ka as createQuerySlide,
|
|
96
|
+
xa as createRevenueWidget,
|
|
97
|
+
Ga as createSalesDataGrid,
|
|
98
|
+
Va as createSalesQuerySlide,
|
|
99
99
|
Wa as createSampleArchitectureData,
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
ja as createSampleIncidentReportData,
|
|
101
|
+
Ua as createSampleOnboardingData,
|
|
102
102
|
Za as createSampleProductPitchData,
|
|
103
103
|
za as createSampleQuarterlyReportData,
|
|
104
104
|
Ja as createSampleSprintReviewData,
|
|
@@ -121,8 +121,8 @@ export {
|
|
|
121
121
|
le as generateChartConfig,
|
|
122
122
|
be as generateIncidentReport,
|
|
123
123
|
Ie as generateOnboarding,
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
ue as generateProductPitch,
|
|
125
|
+
de as generateQuarterlyReport,
|
|
126
126
|
Pe as generateSprintReview,
|
|
127
127
|
Ne as getConditionalStyle,
|
|
128
128
|
me as getEasingFunction,
|
|
@@ -133,8 +133,8 @@ export {
|
|
|
133
133
|
Ce as importProjectCharacters,
|
|
134
134
|
Oe as importProjectProps,
|
|
135
135
|
ge as importSpriteAsCharacter,
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
he as lerp,
|
|
137
|
+
De as lerpPosition,
|
|
138
138
|
ye as mapTransitionEffectToId,
|
|
139
139
|
Le as mergePuppetShows,
|
|
140
140
|
ve as parseNdpJson,
|
|
@@ -146,13 +146,13 @@ export {
|
|
|
146
146
|
we as renderCharacterToCanvas,
|
|
147
147
|
Ke as renderChartSvg,
|
|
148
148
|
He as stringifyNdpJson,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
ke as substituteParameters,
|
|
150
|
+
xe as syncPresentationToYjs,
|
|
151
|
+
Ge as syncYjsToPresentation,
|
|
152
|
+
Ve as timeToFrames,
|
|
153
153
|
We as transitionRegistry,
|
|
154
|
-
|
|
155
|
-
|
|
154
|
+
je as transitionToKeyframes,
|
|
155
|
+
Ue as useCameraShake,
|
|
156
156
|
Ze as useCharacterRegistry,
|
|
157
157
|
ze as useCollaborativePresentation,
|
|
158
158
|
Je as useNiceTranslation,
|
|
@@ -99,7 +99,7 @@ export declare function importEntityAsCharacter(entity: GameEngineEntityData, pr
|
|
|
99
99
|
/**
|
|
100
100
|
* Import an asset as a puppet prop
|
|
101
101
|
*/
|
|
102
|
-
export declare function importAssetAsProp(asset: GameEngineAsset,
|
|
102
|
+
export declare function importAssetAsProp(asset: GameEngineAsset, _options?: GameEngineImportOptions): PuppetPropDef | null;
|
|
103
103
|
/**
|
|
104
104
|
* Import all sprites from a game engine project
|
|
105
105
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gameEngineIntegration.d.ts","sourceRoot":"","sources":["../../src/puppetShow/gameEngineIntegration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EACV,kBAAkB,EAKlB,WAAW,EACX,aAAa,EACb,uBAAuB,EACxB,MAAM,mBAAmB,CAAC;AAM3B,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,wBAAwB,EAAE,CAAC;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,OAAO,CAAC;CACf;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC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AAe,EACtB,
|
|
1
|
+
{"version":3,"file":"gameEngineIntegration.d.ts","sourceRoot":"","sources":["../../src/puppetShow/gameEngineIntegration.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EACV,kBAAkB,EAKlB,WAAW,EACX,aAAa,EACb,uBAAuB,EACxB,MAAM,mBAAmB,CAAC;AAM3B,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,wBAAwB,EAAE,CAAC;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,OAAO,CAAC;CACf;AAED,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE;QACV,MAAM,CAAC,EAAE,yBAAyB,CAAC;QACnC,QAAQ,CAAC,EAAE,2BAA2B,CAAC;QACvC,SAAS,CAAC,EAAE,4BAA4B,CAAC;KAC1C,CAAC;CACH;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,CAA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E,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,EAC3E,OAAO,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/C;IACD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;CAC9C,CAgDA;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,MAAM,GACf,WAAW,CAkCb;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,iBAAiB,GAAG;IACpE,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB,CAoCA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"puppetCharacter.d.ts","sourceRoot":"","sources":["../../src/puppetShow/puppetCharacter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"puppetCharacter.d.ts","sourceRoot":"","sources":["../../src/puppetShow/puppetCharacter.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAwE,MAAM,OAAO,CAAC;AAE7F,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EAGlB,MAAM,mBAAmB,CAAC;AAM3B,MAAM,WAAW,0BAA0B;IACzC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,mBAAmB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,YAAY,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,E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AAkB,EAC7B,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,mBAAmB,CAAC,SAAS,CAAC,EACvC,OAAO,CAAC,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,MAAM,GACf,kBAAkB,CAapB"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { CharacterRegistry } from './puppetCharacter';
|
|
3
|
-
import { NicePuppetShowDocument, PuppetScene, SceneBackground, SceneCamera, CharacterRuntimeState, ActiveEffect } from './puppetShowTypes';
|
|
3
|
+
import { NicePuppetShowDocument, PuppetScene, SceneBackground, SceneCamera as _SceneCamera, CharacterRuntimeState as _CharacterRuntimeState, ActiveEffect as _ActiveEffect } from './puppetShowTypes';
|
|
4
4
|
|
|
5
5
|
export interface PuppetStageContextValue {
|
|
6
6
|
document: NicePuppetShowDocument | null;
|
|
7
7
|
currentScene: PuppetScene | null;
|
|
8
8
|
currentSceneIndex: number;
|
|
9
|
-
camera:
|
|
10
|
-
characterStates: Map<string,
|
|
11
|
-
activeEffects:
|
|
9
|
+
camera: _SceneCamera;
|
|
10
|
+
characterStates: Map<string, _CharacterRuntimeState>;
|
|
11
|
+
activeEffects: _ActiveEffect[];
|
|
12
12
|
stageSize: {
|
|
13
13
|
width: number;
|
|
14
14
|
height: number;
|
|
15
15
|
};
|
|
16
16
|
scale: number;
|
|
17
|
-
setCamera: (camera: Partial<
|
|
18
|
-
updateCharacterState: (instanceId: string, state: Partial<
|
|
17
|
+
setCamera: (camera: Partial<_SceneCamera>) => void;
|
|
18
|
+
updateCharacterState: (instanceId: string, state: Partial<_CharacterRuntimeState>) => void;
|
|
19
19
|
}
|
|
20
20
|
export declare function usePuppetStage(): PuppetStageContextValue;
|
|
21
21
|
export interface BackgroundRendererProps {
|
|
@@ -25,7 +25,7 @@ export interface BackgroundRendererProps {
|
|
|
25
25
|
}
|
|
26
26
|
export declare function BackgroundRenderer({ background, width, height, }: BackgroundRendererProps): React.ReactElement;
|
|
27
27
|
export interface EffectRendererProps {
|
|
28
|
-
effects:
|
|
28
|
+
effects: _ActiveEffect[];
|
|
29
29
|
width: number;
|
|
30
30
|
height: number;
|
|
31
31
|
}
|
|
@@ -33,15 +33,15 @@ export declare function EffectRenderer({ effects, width, height, }: EffectRender
|
|
|
33
33
|
export interface PuppetStageProps {
|
|
34
34
|
document: NicePuppetShowDocument;
|
|
35
35
|
scene: PuppetScene;
|
|
36
|
-
characterStates: Map<string,
|
|
37
|
-
camera:
|
|
38
|
-
activeEffects:
|
|
36
|
+
characterStates: Map<string, _CharacterRuntimeState>;
|
|
37
|
+
camera: _SceneCamera;
|
|
38
|
+
activeEffects: _ActiveEffect[];
|
|
39
39
|
characterRegistry: CharacterRegistry;
|
|
40
40
|
className?: string;
|
|
41
41
|
style?: React.CSSProperties;
|
|
42
42
|
onCharacterClick?: (instanceId: string) => void;
|
|
43
43
|
}
|
|
44
|
-
export declare function PuppetStage({ document, scene, characterStates, camera, activeEffects, characterRegistry, className, style, onCharacterClick, }: PuppetStageProps): React.ReactElement;
|
|
44
|
+
export declare function PuppetStage({ document, scene, characterStates, camera, activeEffects, characterRegistry: _characterRegistry, className, style, onCharacterClick, }: PuppetStageProps): React.ReactElement;
|
|
45
45
|
export interface DialogueBoxProps {
|
|
46
46
|
text: string;
|
|
47
47
|
speakerName?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"puppetStage.d.ts","sourceRoot":"","sources":["../../src/puppetShow/puppetStage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAQN,MAAM,OAAO,CAAC;AAEf,OAAO,EACL,iBAAiB,EAGlB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EACV,sBAAsB,EACtB,WAAW,EACX,eAAe,EAGf,WAAW,
|
|
1
|
+
{"version":3,"file":"puppetStage.d.ts","sourceRoot":"","sources":["../../src/puppetShow/puppetStage.ts"],"names":[],"mappings":"AA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,OAAO,CAAC;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,WAAW,EACX,KAAU,EACV,cAAc,EACd,OAAO,EACP,kBAAsB,GACvB,EAAE,gBAAgB,GAAG,KAAK,CAAC,YAAY,GAAG,IAAI,CA0E9C;AAMD,wBAAgB,cAAc,CAC5B,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,OAAO,GACd;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAsCtC"}
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.nice-pres-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;color:#222;background:#f4f4f4}.nice-pres-toolbar{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#fff;border-bottom:1px solid #ddd;flex-wrap:wrap}.nice-pres-toolbar__group{display:flex;align-items:center;gap:4px}.nice-pres-toolbar__separator{width:1px;height:24px;background:#ddd;margin:0 6px}.nice-pres-toolbar button,.nice-pres-toolbar select{height:32px;padding:0 10px;border:1px solid #ccc;border-radius:4px;background:#fff;font-size:13px;cursor:pointer;line-height:30px;white-space:nowrap}.nice-pres-toolbar button:hover:not(:disabled){background:#eef}.nice-pres-toolbar button:disabled{opacity:.4;cursor:default}.nice-pres-toolbar button.primary{background:#6366f1;color:#fff;border-color:#5558e6}.nice-pres-toolbar button.primary:hover{background:#4f46e5}.nice-pres-toolbar__dropdown{position:relative}.nice-pres-toolbar__dropdown-menu{position:absolute;top:100%;left:0;z-index:20;min-width:160px;background:#fff;border:1px solid #ddd;border-radius:6px;box-shadow:0 4px 12px #0000001f;padding:4px 0;margin-top:2px}.nice-pres-toolbar__dropdown-item{display:block;width:100%;padding:6px 14px;border:none;background:none;text-align:left;font-size:13px;cursor:pointer;color:#333}.nice-pres-toolbar__dropdown-item:hover{background:#eef}.nice-pres-thumbnails{padding:8px;overflow-y:auto;max-height:100%;display:flex;flex-direction:column;gap:8px}.nice-pres-thumbnail{position:relative;border:2px solid transparent;border-radius:4px;cursor:pointer;overflow:hidden;background:#fff;box-shadow:0 1px 3px #0000001a;transition:border-color .15s}.nice-pres-thumbnail:hover{border-color:#a5b4fc}.nice-pres-thumbnail--active{border-color:#6366f1!important}.nice-pres-thumbnail__number{position:absolute;top:2px;left:4px;font-size:10px;color:#888;font-weight:600}.nice-pres-thumbnail__actions{position:absolute;top:2px;right:4px;display:none;gap:2px}.nice-pres-thumbnail:hover .nice-pres-thumbnail__actions{display:flex}.nice-pres-thumbnail__actions button{width:20px;height:20px;border:none;border-radius:3px;background:#00000073;color:#fff;font-size:11px;line-height:20px;cursor:pointer;padding:0;text-align:center}.nice-pres-thumbnail__actions button:hover{background:#000000b3}.nice-pres-thumbnails__add-btn{width:100%;height:34px;border:2px dashed #ccc;border-radius:4px;background:none;color:#888;font-size:13px;cursor:pointer}.nice-pres-thumbnails__add-btn:hover{border-color:#6366f1;color:#6366f1}.nice-pres-canvas{box-shadow:0 2px 12px #0000002e;position:relative;overflow:hidden}.nice-pres-canvas__element{position:absolute;box-sizing:border-box;cursor:default}.nice-pres-canvas__element--interactive{cursor:move}.nice-pres-canvas__element--selected{outline:2px solid #6366f1;outline-offset:2px}.nice-pres-canvas__text{-webkit-user-select:none;user-select:none;word-wrap:break-word;overflow:hidden}.nice-pres-canvas__image{display:flex;align-items:center;justify-content:center}.nice-pres-canvas__image img{max-width:100%;max-height:100%}.nice-pres-canvas__shape{display:flex;align-items:center;justify-content:center}.nice-pres-canvas__code{overflow:auto;border-radius:6px}.nice-pres-canvas__code pre{margin:0;padding:12px 16px;font-family:Fira Code,Cascadia Code,JetBrains Mono,monospace;font-size:14px;line-height:1.5;white-space:pre-wrap}.nice-pres-canvas__chart svg{width:100%;height:100%}.nice-pres-canvas__table{overflow:auto}.nice-pres-canvas__table table{width:100%;border-collapse:collapse;font-size:14px}.nice-pres-canvas__table th{background:#6366f1;color:#fff;padding:6px 10px;text-align:left;font-weight:600}.nice-pres-canvas__table td{padding:6px 10px;border-bottom:1px solid #eee}.nice-pres-canvas__table tr:nth-child(2n) td{background:#f8f8f8}.nice-pres-props{padding:12px;font-size:13px}.nice-pres-props h3{font-size:14px;font-weight:600;margin:0 0 10px;padding-bottom:6px;border-bottom:1px solid #eee}.nice-pres-props__row{display:flex;align-items:center;margin-bottom:8px;gap:6px}.nice-pres-props__label{flex:0 0 70px;font-size:12px;color:#666}.nice-pres-props__input{flex:1;height:28px;border:1px solid #ccc;border-radius:4px;padding:0 8px;font-size:12px;background:#fff}.nice-pres-props__input:focus{outline:none;border-color:#6366f1}.nice-pres-props select.nice-pres-props__input{padding-right:24px}.nice-pres-props textarea.nice-pres-props__input{height:auto;min-height:60px;padding:6px 8px;resize:vertical}.nice-pres-props__section{margin-top:16px}.nice-pres-props__color-swatch{width:28px;height:28px;border:1px solid #ccc;border-radius:4px;cursor:pointer;padding:0}.nice-pres-props button.nice-pres-props__remove-btn{width:100%;height:30px;margin-top:12px;border:1px solid #ef4444;border-radius:4px;background:#fef2f2;color:#ef4444;font-size:12px;cursor:pointer}.nice-pres-props button.nice-pres-props__remove-btn:hover{background:#ef4444;color:#fff}.nice-pres-player{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.nice-pres-player-controls{transition:opacity .2s}.nice-pres-player-controls button:hover{background:#ffffff4d!important}@media (max-width: 768px){.nice-pres-toolbar{padding:4px 8px;gap:4px}.nice-pres-toolbar button,.nice-pres-toolbar select{height:28px;font-size:12px;padding:0 6px}.nice-pres-props{padding:8px}}._interactiveElement_1mfsb_13{font-family:inherit;box-sizing:border-box}._interactiveButton_1mfsb_27{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 24px;font-weight:600;border-radius:8px;border:2px solid transparent;cursor:pointer;transition:all .2s ease;text-decoration:none;font-size:1rem}._interactiveButton_1mfsb_27:hover:not(._disabled_1mfsb_57){transform:translateY(-2px);box-shadow:0 4px 12px #00000026}._interactiveButton_1mfsb_27:active:not(._disabled_1mfsb_57){transform:translateY(0)}._interactiveButton_1mfsb_27._disabled_1mfsb_57{opacity:.5;cursor:not-allowed}._variant_primary_1mfsb_87{background:var(--nice-primary, #6366f1);color:#fff}._variant_secondary_1mfsb_97{background:var(--nice-secondary, #64748b);color:#fff}._variant_outline_1mfsb_107{background:transparent;border-color:currentColor;color:var(--nice-primary, #6366f1)}._variant_ghost_1mfsb_119{background:transparent;color:var(--nice-primary, #6366f1)}._variant_ghost_1mfsb_119:hover:not(._disabled_1mfsb_57){background:#6366f11a}._size_small_1mfsb_139{padding:8px 16px;font-size:.875rem}._size_medium_1mfsb_149{padding:12px 24px;font-size:1rem}._size_large_1mfsb_159{padding:16px 32px;font-size:1.125rem}._buttonIcon_1mfsb_169{font-size:1.2em}._buttonLabel_1mfsb_177{white-space:nowrap}._interactivePoll_1mfsb_189{display:flex;flex-direction:column;gap:16px;padding:20px;background:#fffffff2;border-radius:12px;box-shadow:0 4px 20px #0000001a}._pollQuestion_1mfsb_209{margin:0;font-size:1.25rem;font-weight:600;color:#1e293b}._pollOptions_1mfsb_223{display:flex;flex-direction:column;gap:10px}._pollOption_1mfsb_223{display:flex;flex-direction:column;gap:8px;padding:14px 18px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:all .2s ease;text-align:left}._pollOption_1mfsb_223:hover:not(._pollOptionDisabled_1mfsb_261){border-color:var(--poll-option-color, #6366f1);background:#f1f5f9}._pollOptionSelected_1mfsb_271{border-color:var(--poll-option-color, #6366f1);background:#6366f114}._pollOptionDisabled_1mfsb_261{cursor:default}._pollOptionContent_1mfsb_289{display:flex;align-items:center;gap:10px;font-size:1rem;color:#334155}._pollOptionIcon_1mfsb_305{font-size:1.25rem}._pollOptionText_1mfsb_313{flex:1}._pollCheckbox_1mfsb_321{font-size:1.2rem;color:var(--poll-option-color, #6366f1)}._pollResultBar_1mfsb_331{display:flex;align-items:center;gap:10px;height:26px;background:#e2e8f0;border-radius:6px;overflow:hidden;position:relative}._pollResultFill_1mfsb_353{height:100%;border-radius:6px;transition:width .5s ease}._pollResultPercent_1mfsb_365{position:absolute;right:60px;font-weight:600;font-size:.875rem;color:#475569}._pollResultCount_1mfsb_381{position:absolute;right:10px;font-size:.75rem;color:#64748b}._pollSubmitBtn_1mfsb_395{align-self:flex-start;padding:12px 28px;background:var(--nice-primary, #6366f1);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease}._pollSubmitBtn_1mfsb_395:hover{filter:brightness(1.1);transform:translateY(-1px)}._pollTotalVotes_1mfsb_431{font-size:.875rem;color:#64748b;text-align:center}._pollVotedMessage_1mfsb_443{padding:12px;background:#dcfce7;border-radius:8px;color:#166534;text-align:center;font-weight:500}._pollStyle_horizontal-bar_1mfsb_463 ._pollOptions_1mfsb_223{gap:8px}._pollStyle_horizontal-bar_1mfsb_463 ._pollOption_1mfsb_223{flex-direction:row;padding:10px 14px}._interactiveQuiz_1mfsb_485{display:flex;flex-direction:column;gap:16px;padding:24px;background:#fffffff2;border-radius:12px;box-shadow:0 4px 20px #0000001a}._quizHeader_1mfsb_505{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap}._quizQuestion_1mfsb_519{margin:0;flex:1;font-size:1.25rem;font-weight:600;color:#1e293b;min-width:200px}._quizTimer_1mfsb_537{padding:8px 14px;background:#f1f5f9;border-radius:6px;font-weight:600;font-size:1rem;color:#475569}._quizTimerWarning_1mfsb_555{background:#fef2f2;color:#dc2626;animation:_timerPulse_1mfsb_1 .5s ease infinite}@keyframes _timerPulse_1mfsb_1{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}._quizPoints_1mfsb_577{padding:6px 12px;background:#dbeafe;border-radius:20px;font-weight:600;font-size:.875rem;color:#1d4ed8}._quizAnswers_1mfsb_595{display:flex;flex-direction:column;gap:10px}._quizAnswer_1mfsb_595{display:flex;align-items:center;gap:12px;padding:14px 18px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;transition:all .2s ease;text-align:left}._quizAnswer_1mfsb_595:hover:not(._quizAnswerDisabled_1mfsb_633){border-color:#6366f1;background:#f1f5f9}._quizAnswerSelected_1mfsb_643{border-color:#6366f1;background:#6366f114}._quizAnswerDisabled_1mfsb_633{cursor:default}._quizAnswerCorrect_1mfsb_661{border-color:#22c55e!important;background:#22c55e1a!important}._quizAnswerIncorrect_1mfsb_671{border-color:#ef4444!important;background:#ef44441a!important}._quizAnswerMarker_1mfsb_681{font-size:1.25rem;color:#6366f1}._quizAnswerText_1mfsb_691{flex:1;font-size:1rem;color:#334155}._quizCorrectMark_1mfsb_703{font-size:1.25rem;color:#22c55e;font-weight:700}._quizIncorrectMark_1mfsb_715{font-size:1.25rem;color:#ef4444;font-weight:700}._quizSubmitBtn_1mfsb_727{align-self:flex-start;padding:12px 28px;background:var(--nice-primary, #6366f1);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease}._quizSubmitBtn_1mfsb_727:hover{filter:brightness(1.1);transform:translateY(-1px)}._quizSubmitBtn_1mfsb_727:disabled{opacity:.5;cursor:not-allowed;transform:none}._quizFeedback_1mfsb_775{margin-top:8px}._quizFeedbackMessage_1mfsb_783{padding:14px 18px;border-radius:10px;font-weight:500;font-size:1rem}._quizFeedbackCorrect_1mfsb_797{background:#dcfce7;color:#166534}._quizFeedbackIncorrect_1mfsb_807{background:#fef2f2;color:#991b1b}._quizExplanation_1mfsb_817{margin-top:12px;padding:14px;background:#f8fafc;border-radius:8px;color:#475569;font-size:.9375rem;line-height:1.6}._interactiveCountdown_1mfsb_841{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px}._countdownWarning_1mfsb_857{animation:_countdownPulse_1mfsb_1 1s ease infinite}@keyframes _countdownPulse_1mfsb_1{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}._countdownComplete_1mfsb_875{opacity:.75}._countdownDigital_1mfsb_885{display:flex;align-items:center;gap:4px;font-size:3rem;font-weight:700;font-variant-numeric:tabular-nums}._countdownSeparator_1mfsb_903{opacity:.6}._countdownDigit_1mfsb_885{min-width:1.2em;text-align:center}._countdownCircular_1mfsb_923{position:relative;width:150px;height:150px}._countdownCircleSvg_1mfsb_935{width:100%;height:100%;transform:rotateY(180deg)}._countdownProgressRing_1mfsb_947{transition:stroke-dashoffset .5s ease}._countdownCircleText_1mfsb_955{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:1.75rem;font-weight:700;font-variant-numeric:tabular-nums}._countdownLargeSeconds_1mfsb_975{font-size:2.5rem}._countdownFlip_1mfsb_985{display:flex;align-items:center;gap:8px}._flipCardContainer_1mfsb_997{display:flex;flex-direction:column;align-items:center;gap:6px}._flipCard_1mfsb_997{padding:16px 20px;background:linear-gradient(180deg,#1e293b,#334155);border-radius:8px;color:#fff;font-size:2.5rem;font-weight:700;font-variant-numeric:tabular-nums;box-shadow:0 4px 12px #0000004d}._flipLabel_1mfsb_1033{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#64748b}._flipSeparator_1mfsb_1047{font-size:2rem;font-weight:700;opacity:.5;margin-bottom:20px}._countdownMinimal_1mfsb_1063{font-size:2rem;font-weight:600;font-variant-numeric:tabular-nums}._countdownCompleteMessage_1mfsb_1075{margin-top:12px;font-size:1.25rem;font-weight:600;color:#dc2626}._interactiveQnA_1mfsb_1093{display:flex;flex-direction:column;gap:16px;padding:20px;background:#fffffff2;border-radius:12px;box-shadow:0 4px 20px #0000001a;max-height:500px;overflow:hidden}._qnaHeader_1mfsb_1117{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid #e2e8f0}._qnaTitle_1mfsb_1133{margin:0;font-size:1.125rem;font-weight:600;color:#1e293b}._qnaCount_1mfsb_1147{font-size:.875rem;color:#64748b}._qnaInputForm_1mfsb_1157{display:flex;flex-direction:column;gap:12px}._qnaInputWrapper_1mfsb_1169{position:relative}._qnaInput_1mfsb_1157{width:100%;padding:12px 14px 28px;border:2px solid #e2e8f0;border-radius:10px;font-size:.9375rem;resize:none;transition:border-color .2s ease}._qnaInput_1mfsb_1157:focus{outline:none;border-color:#6366f1}._qnaInput_1mfsb_1157:disabled{background:#f8fafc;cursor:not-allowed}._qnaCharCount_1mfsb_1219{position:absolute;bottom:8px;right:12px;font-size:.75rem;color:#94a3b8}._qnaInputActions_1mfsb_1235{display:flex;align-items:center;justify-content:space-between;gap:16px}._qnaAnonymousToggle_1mfsb_1249{display:flex;align-items:center;gap:6px;font-size:.875rem;color:#475569;cursor:pointer}._qnaAnonymousToggle_1mfsb_1249 input{width:16px;height:16px;cursor:pointer}._qnaSubmitBtn_1mfsb_1279{padding:10px 20px;background:var(--nice-primary, #6366f1);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s ease}._qnaSubmitBtn_1mfsb_1279:hover:not(:disabled){filter:brightness(1.1)}._qnaSubmitBtn_1mfsb_1279:disabled{opacity:.5;cursor:not-allowed}._qnaClosedMessage_1mfsb_1321{padding:12px;background:#f8fafc;border-radius:8px;color:#64748b;text-align:center;font-size:.875rem}._qnaQuestionsList_1mfsb_1339{display:flex;flex-direction:column;gap:10px;overflow-y:auto;flex:1}._qnaQuestion_1mfsb_1339{display:flex;gap:12px;padding:14px;background:#f8fafc;border-radius:10px;transition:background .2s ease}._qnaQuestion_1mfsb_1339:hover{background:#f1f5f9}._qnaQuestionAnswered_1mfsb_1381{background:#dcfce7;border-left:4px solid #22c55e}._qnaQuestionContent_1mfsb_1391{flex:1;display:flex;flex-direction:column;gap:6px}._qnaQuestionText_1mfsb_1405{font-size:.9375rem;color:#1e293b;line-height:1.5}._qnaQuestionMeta_1mfsb_1417{display:flex;gap:12px;font-size:.75rem;color:#64748b}._qnaAuthor_1mfsb_1431{font-weight:500}._qnaQuestionActions_1mfsb_1439{display:flex;flex-direction:column;align-items:center;gap:8px}._qnaUpvoteBtn_1mfsb_1453{display:flex;flex-direction:column;align-items:center;gap:2px;padding:6px 10px;background:transparent;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .2s ease}._qnaUpvoteBtn_1mfsb_1453:hover:not(:disabled){border-color:#6366f1;color:#6366f1}._qnaUpvoted_1mfsb_1489{background:#6366f11a;border-color:#6366f1;color:#6366f1}._qnaUpvoteBtn_1mfsb_1453:disabled{cursor:default}._qnaUpvoteIcon_1mfsb_1509{font-size:1rem}._qnaUpvoteCount_1mfsb_1517{font-size:.75rem;font-weight:600}._qnaAnsweredBtn_1mfsb_1527{padding:4px 8px;background:transparent;border:1px solid #e2e8f0;border-radius:4px;font-size:.875rem;cursor:pointer;transition:all .2s ease}._qnaAnsweredBtn_1mfsb_1527:hover{background:#f1f5f9}._qnaMarkedAnswered_1mfsb_1555{background:#dcfce7;border-color:#22c55e;color:#22c55e}._qnaEmptyState_1mfsb_1567{padding:40px 20px;text-align:center;color:#94a3b8;font-size:.9375rem}._qnaMoreQuestions_1mfsb_1581{padding:10px;text-align:center;font-size:.875rem;color:#64748b;border-top:1px solid #e2e8f0}._qnaStyle_stack_1mfsb_1599 ._qnaQuestionsList_1mfsb_1339{flex-direction:column-reverse}._qnaStyle_floating_1mfsb_1609{position:fixed;bottom:20px;right:20px;width:360px;max-height:450px;z-index:1000}
|
|
1
|
+
.nice-pres-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;color:var(--nice-text, #222);background:#f4f4f4}.nice-pres-toolbar{display:flex;align-items:center;gap:var(--nice-space-1-5, 6px);padding:var(--nice-space-1-5, 6px) var(--nice-space-3, 12px);background:var(--nice-bg, #FFF);border-bottom:1px solid var(--nice-border, #ddd);flex-wrap:wrap}.nice-pres-toolbar__group{display:flex;align-items:center;gap:var(--nice-space-1, 4px)}.nice-pres-toolbar__separator{width:1px;height:24px;background:var(--nice-border, #ddd);margin:0 var(--nice-space-1-5, 6px)}.nice-pres-toolbar button,.nice-pres-toolbar select{height:32px;padding:0 var(--nice-space-2-5, 10px);border:1px solid var(--nice-border, #ccc);border-radius:var(--nice-radius-sm, 4px);background:var(--nice-bg, #FFF);font-size:13px;cursor:pointer;line-height:30px;white-space:nowrap}.nice-pres-toolbar button:hover:not(:disabled){background:var(--nice-primary-bg, #eef)}.nice-pres-toolbar button:disabled{opacity:.4;cursor:default}.nice-pres-toolbar button.primary{background:var(--nice-info, #6366f1);color:var(--nice-bg, #FFF);border-color:var(--nice-accent, #5558e6)}.nice-pres-toolbar button.primary:hover{background:var(--nice-accent, #4f46e5)}.nice-pres-toolbar__dropdown{position:relative}.nice-pres-toolbar__dropdown-menu{position:absolute;top:100%;left:0;z-index:20;min-width:160px;background:var(--nice-bg, #FFF);border:1px solid var(--nice-border, #ddd);border-radius:var(--nice-radius-md, 6px);box-shadow:0 4px 12px var(--nice-overlay-12, rgba(0, 0, 0, .12));padding:var(--nice-space-1, 4px) 0;margin-top:var(--nice-space-0-5, 2px)}.nice-pres-toolbar__dropdown-item{display:block;width:100%;padding:var(--nice-space-1-5, 6px) var(--nice-space-3-5, 14px);border:none;background:none;text-align:left;font-size:13px;cursor:pointer;color:var(--nice-text, #333)}.nice-pres-toolbar__dropdown-item:hover{background:var(--nice-primary-bg, #eef)}.nice-pres-thumbnails{padding:var(--nice-space-2, 8px);overflow-y:auto;max-height:100%;display:flex;flex-direction:column;gap:var(--nice-space-2, 8px)}.nice-pres-thumbnail{position:relative;border:2px solid transparent;border-radius:var(--nice-radius-sm, 4px);cursor:pointer;overflow:hidden;background:var(--nice-bg, #FFF);box-shadow:0 1px 3px var(--nice-overlay-10, rgba(0, 0, 0, .1));transition:border-color .15s}.nice-pres-thumbnail:hover{border-color:var(--nice-accent, #a5b4fc)}.nice-pres-thumbnail--active{border-color:var(--nice-info, #6366f1)!important}.nice-pres-thumbnail__number{position:absolute;top:2px;left:4px;font-size:10px;color:var(--nice-text-secondary, #888);font-weight:600}.nice-pres-thumbnail__actions{position:absolute;top:2px;right:4px;display:none;gap:var(--nice-space-0-5, 2px)}.nice-pres-thumbnail:hover .nice-pres-thumbnail__actions{display:flex}.nice-pres-thumbnail__actions button{width:20px;height:20px;border:none;border-radius:var(--nice-radius-sm, 3px);background:var(--nice-overlay-45, rgba(0, 0, 0, .45));color:var(--nice-bg, #FFF);font-size:11px;line-height:20px;cursor:pointer;padding:0;text-align:center}.nice-pres-thumbnail__actions button:hover{background:var(--nice-overlay-70, rgba(0, 0, 0, .7))}.nice-pres-thumbnails__add-btn{width:100%;height:34px;border:2px dashed var(--nice-border, #ccc);border-radius:var(--nice-radius-sm, 4px);background:none;color:var(--nice-text-secondary, #888);font-size:13px;cursor:pointer}.nice-pres-thumbnails__add-btn:hover{border-color:var(--nice-info, #6366f1);color:var(--nice-info, #6366f1)}.nice-pres-canvas{box-shadow:0 2px 12px var(--nice-overlay-20, rgba(0, 0, 0, .18));position:relative;overflow:hidden}.nice-pres-canvas__element{position:absolute;box-sizing:border-box;cursor:default}.nice-pres-canvas__element--interactive{cursor:move}.nice-pres-canvas__element--selected{outline:2px solid var(--nice-info, #6366f1);outline-offset:2px}.nice-pres-canvas__text{-webkit-user-select:none;user-select:none;word-wrap:break-word;overflow:hidden}.nice-pres-canvas__image{display:flex;align-items:center;justify-content:center}.nice-pres-canvas__image img{max-width:100%;max-height:100%}.nice-pres-canvas__shape{display:flex;align-items:center;justify-content:center}.nice-pres-canvas__code{overflow:auto;border-radius:var(--nice-radius-md, 6px)}.nice-pres-canvas__code pre{margin:0;padding:var(--nice-space-3, 12px) var(--nice-space-4, 16px);font-family:Fira Code,Cascadia Code,JetBrains Mono,monospace;font-size:14px;line-height:1.5;white-space:pre-wrap}.nice-pres-canvas__chart svg{width:100%;height:100%}.nice-pres-canvas__table{overflow:auto}.nice-pres-canvas__table table{width:100%;border-collapse:collapse;font-size:14px}.nice-pres-canvas__table th{background:var(--nice-info, #6366f1);color:var(--nice-bg, #FFF);padding:var(--nice-space-1-5, 6px) var(--nice-space-2-5, 10px);text-align:left;font-weight:600}.nice-pres-canvas__table td{padding:var(--nice-space-1-5, 6px) var(--nice-space-2-5, 10px);border-bottom:1px solid var(--nice-border, #eee)}.nice-pres-canvas__table tr:nth-child(2n) td{background:var(--nice-bg-secondary, #f8f8f8)}.nice-pres-props{padding:var(--nice-space-3, 12px);font-size:13px}.nice-pres-props h3{font-size:14px;font-weight:600;margin:0 0 var(--nice-space-2-5, 10px);padding-bottom:var(--nice-space-1-5, 6px);border-bottom:1px solid var(--nice-border, #eee)}.nice-pres-props__row{display:flex;align-items:center;margin-bottom:var(--nice-space-2, 8px);gap:var(--nice-space-1-5, 6px)}.nice-pres-props__label{flex:0 0 70px;font-size:12px;color:var(--nice-text-secondary, #666)}.nice-pres-props__input{flex:1;height:28px;border:1px solid var(--nice-border, #ccc);border-radius:var(--nice-radius-sm, 4px);padding:0 var(--nice-space-2, 8px);font-size:12px;background:var(--nice-bg, #FFF)}.nice-pres-props__input:focus{outline:none;border-color:var(--nice-info, #6366f1)}.nice-pres-props select.nice-pres-props__input{padding-right:var(--nice-space-6, 24px)}.nice-pres-props textarea.nice-pres-props__input{height:auto;min-height:60px;padding:var(--nice-space-1-5, 6px) var(--nice-space-2, 8px);resize:vertical}.nice-pres-props__section{margin-top:var(--nice-space-4, 16px)}.nice-pres-props__color-swatch{width:28px;height:28px;border:1px solid var(--nice-border, #ccc);border-radius:var(--nice-radius-sm, 4px);cursor:pointer;padding:0}.nice-pres-props button.nice-pres-props__remove-btn{width:100%;height:30px;margin-top:var(--nice-space-3, 12px);border:1px solid var(--nice-danger, #ef4444);border-radius:var(--nice-radius-sm, 4px);background:var(--nice-danger-bg, #fef2f2);color:var(--nice-danger, #ef4444);font-size:12px;cursor:pointer}.nice-pres-props button.nice-pres-props__remove-btn:hover{background:var(--nice-danger, #ef4444);color:var(--nice-bg, #FFF)}.nice-pres-player{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.nice-pres-player-controls{transition:opacity .2s}.nice-pres-player-controls button:hover{background:var(--nice-overlay-light-30, rgba(255, 255, 255, .3))!important}@media (max-width: 768px){.nice-pres-toolbar{padding:var(--nice-space-1, 4px) var(--nice-space-2, 8px);gap:var(--nice-space-1, 4px)}.nice-pres-toolbar button,.nice-pres-toolbar select{height:28px;font-size:12px;padding:0 var(--nice-space-1-5, 6px)}.nice-pres-props{padding:var(--nice-space-2, 8px)}}._interactiveElement_1hnm5_13{font-family:inherit;box-sizing:border-box}._interactiveButton_1hnm5_27{display:inline-flex;align-items:center;justify-content:center;gap:var(--nice-space-2, 8px);padding:var(--nice-space-3, 12px) var(--nice-space-6, 24px);font-weight:600;border-radius:var(--nice-radius-lg, 8px);border:2px solid transparent;cursor:pointer;transition:all .2s ease;text-decoration:none;font-size:1rem}._interactiveButton_1hnm5_27:hover:not(._disabled_1hnm5_57){transform:translateY(-2px);box-shadow:0 4px 12px var(--nice-overlay-15, rgba(0, 0, 0, .15))}._interactiveButton_1hnm5_27:active:not(._disabled_1hnm5_57){transform:translateY(0)}._interactiveButton_1hnm5_27._disabled_1hnm5_57{opacity:.5;cursor:not-allowed}._variant_primary_1hnm5_87{background:var(--nice-primary, #6366f1);color:#fff}._variant_secondary_1hnm5_97{background:var(--nice-secondary, #64748b);color:#fff}._variant_outline_1hnm5_107{background:transparent;border-color:currentColor;color:var(--nice-primary, #6366f1)}._variant_ghost_1hnm5_119{background:transparent;color:var(--nice-primary, #6366f1)}._variant_ghost_1hnm5_119:hover:not(._disabled_1hnm5_57){background:var(--nice-accent-tint-10, rgba(99, 102, 241, .1))}._size_small_1hnm5_139{padding:var(--nice-space-2, 8px) var(--nice-space-4, 16px);font-size:.875rem}._size_medium_1hnm5_149{padding:var(--nice-space-3, 12px) var(--nice-space-6, 24px);font-size:1rem}._size_large_1hnm5_159{padding:var(--nice-space-4, 16px) var(--nice-space-8, 32px);font-size:1.125rem}._buttonIcon_1hnm5_169{font-size:1.2em}._buttonLabel_1hnm5_177{white-space:nowrap}._interactivePoll_1hnm5_189{display:flex;flex-direction:column;gap:var(--nice-space-4, 16px);padding:var(--nice-space-5, 20px);background:var(--nice-overlay-light-95, rgba(255, 255, 255, .95));border-radius:var(--nice-radius-xl, 12px);box-shadow:0 4px 20px var(--nice-overlay-10, rgba(0, 0, 0, .1))}._pollQuestion_1hnm5_209{margin:0;font-size:1.25rem;font-weight:600;color:var(--nice-text, #1e293b)}._pollOptions_1hnm5_223{display:flex;flex-direction:column;gap:var(--nice-space-2-5, 10px)}._pollOption_1hnm5_223{display:flex;flex-direction:column;gap:var(--nice-space-2, 8px);padding:var(--nice-space-3-5, 14px) 18px;background:var(--nice-bg-secondary, #f8fafc);border:2px solid var(--nice-border, #e2e8f0);border-radius:var(--nice-radius-lg, 10px);cursor:pointer;transition:all .2s ease;text-align:left}._pollOption_1hnm5_223:hover:not(._pollOptionDisabled_1hnm5_261){border-color:var(--poll-option-color, #6366f1);background:var(--nice-bg-secondary, #f1f5f9)}._pollOptionSelected_1hnm5_271{border-color:var(--poll-option-color, #6366f1);background:var(--nice-accent-tint-8, rgba(99, 102, 241, .08))}._pollOptionDisabled_1hnm5_261{cursor:default}._pollOptionContent_1hnm5_289{display:flex;align-items:center;gap:var(--nice-space-2-5, 10px);font-size:1rem;color:var(--nice-text, #334155)}._pollOptionIcon_1hnm5_305{font-size:1.25rem}._pollOptionText_1hnm5_313{flex:1}._pollCheckbox_1hnm5_321{font-size:1.2rem;color:var(--poll-option-color, #6366f1)}._pollResultBar_1hnm5_331{display:flex;align-items:center;gap:var(--nice-space-2-5, 10px);height:26px;background:var(--nice-border, #e2e8f0);border-radius:var(--nice-radius-md, 6px);overflow:hidden;position:relative}._pollResultFill_1hnm5_353{height:100%;border-radius:var(--nice-radius-md, 6px);transition:width .5s ease}._pollResultPercent_1hnm5_365{position:absolute;right:60px;font-weight:600;font-size:.875rem;color:var(--nice-text-secondary, #475569)}._pollResultCount_1hnm5_381{position:absolute;right:10px;font-size:.75rem;color:var(--nice-text-secondary, #64748b)}._pollSubmitBtn_1hnm5_395{align-self:flex-start;padding:var(--nice-space-3, 12px) var(--nice-space-7, 28px);background:var(--nice-primary, #6366f1);color:#fff;border:none;border-radius:var(--nice-radius-lg, 8px);font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease}._pollSubmitBtn_1hnm5_395:hover{filter:brightness(1.1);transform:translateY(-1px)}._pollTotalVotes_1hnm5_431{font-size:.875rem;color:var(--nice-text-secondary, #64748b);text-align:center}._pollVotedMessage_1hnm5_443{padding:var(--nice-space-3, 12px);background:var(--nice-success-bg, #dcfce7);border-radius:var(--nice-radius-lg, 8px);color:var(--nice-success-dark, #166534);text-align:center;font-weight:500}._pollStyle_horizontal-bar_1hnm5_463 ._pollOptions_1hnm5_223{gap:var(--nice-space-2, 8px)}._pollStyle_horizontal-bar_1hnm5_463 ._pollOption_1hnm5_223{flex-direction:row;padding:var(--nice-space-2-5, 10px) var(--nice-space-3-5, 14px)}._interactiveQuiz_1hnm5_485{display:flex;flex-direction:column;gap:var(--nice-space-4, 16px);padding:var(--nice-space-6, 24px);background:var(--nice-overlay-light-95, rgba(255, 255, 255, .95));border-radius:var(--nice-radius-xl, 12px);box-shadow:0 4px 20px var(--nice-overlay-10, rgba(0, 0, 0, .1))}._quizHeader_1hnm5_505{display:flex;align-items:flex-start;gap:var(--nice-space-4, 16px);flex-wrap:wrap}._quizQuestion_1hnm5_519{margin:0;flex:1;font-size:1.25rem;font-weight:600;color:var(--nice-text, #1e293b);min-width:200px}._quizTimer_1hnm5_537{padding:var(--nice-space-2, 8px) var(--nice-space-3-5, 14px);background:var(--nice-bg-secondary, #f1f5f9);border-radius:var(--nice-radius-md, 6px);font-weight:600;font-size:1rem;color:var(--nice-text-secondary, #475569)}._quizTimerWarning_1hnm5_555{background:var(--nice-danger-bg, #fef2f2);color:var(--nice-danger-dark, #dc2626);animation:_timerPulse_1hnm5_1 .5s ease infinite}@keyframes _timerPulse_1hnm5_1{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}._quizPoints_1hnm5_577{padding:var(--nice-space-1-5, 6px) var(--nice-space-3, 12px);background:var(--nice-primary-bg, #dbeafe);border-radius:var(--nice-radius-xl, 20px);font-weight:600;font-size:.875rem;color:var(--nice-primary-dark, #1d4ed8)}._quizAnswers_1hnm5_595{display:flex;flex-direction:column;gap:var(--nice-space-2-5, 10px)}._quizAnswer_1hnm5_595{display:flex;align-items:center;gap:var(--nice-space-3, 12px);padding:var(--nice-space-3-5, 14px) 18px;background:var(--nice-bg-secondary, #f8fafc);border:2px solid var(--nice-border, #e2e8f0);border-radius:var(--nice-radius-lg, 10px);cursor:pointer;transition:all .2s ease;text-align:left}._quizAnswer_1hnm5_595:hover:not(._quizAnswerDisabled_1hnm5_633){border-color:var(--nice-info, #6366f1);background:var(--nice-bg-secondary, #f1f5f9)}._quizAnswerSelected_1hnm5_643{border-color:var(--nice-info, #6366f1);background:var(--nice-accent-tint-8, rgba(99, 102, 241, .08))}._quizAnswerDisabled_1hnm5_633{cursor:default}._quizAnswerCorrect_1hnm5_661{border-color:var(--nice-success, #22c55e)!important;background:var(--nice-success-tint-10, rgba(34, 197, 94, .1))!important}._quizAnswerIncorrect_1hnm5_671{border-color:var(--nice-danger, #ef4444)!important;background:var(--nice-danger-tint-10, rgba(239, 68, 68, .1))!important}._quizAnswerMarker_1hnm5_681{font-size:1.25rem;color:var(--nice-info, #6366f1)}._quizAnswerText_1hnm5_691{flex:1;font-size:1rem;color:var(--nice-text, #334155)}._quizCorrectMark_1hnm5_703{font-size:1.25rem;color:var(--nice-success, #22c55e);font-weight:700}._quizIncorrectMark_1hnm5_715{font-size:1.25rem;color:var(--nice-danger, #ef4444);font-weight:700}._quizSubmitBtn_1hnm5_727{align-self:flex-start;padding:var(--nice-space-3, 12px) var(--nice-space-7, 28px);background:var(--nice-primary, #6366f1);color:#fff;border:none;border-radius:var(--nice-radius-lg, 8px);font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease}._quizSubmitBtn_1hnm5_727:hover{filter:brightness(1.1);transform:translateY(-1px)}._quizSubmitBtn_1hnm5_727:disabled{opacity:.5;cursor:not-allowed;transform:none}._quizFeedback_1hnm5_775{margin-top:var(--nice-space-2, 8px)}._quizFeedbackMessage_1hnm5_783{padding:var(--nice-space-3-5, 14px) 18px;border-radius:var(--nice-radius-lg, 10px);font-weight:500;font-size:1rem}._quizFeedbackCorrect_1hnm5_797{background:var(--nice-success-bg, #dcfce7);color:var(--nice-success-dark, #166534)}._quizFeedbackIncorrect_1hnm5_807{background:var(--nice-danger-bg, #fef2f2);color:var(--nice-danger-dark, #991b1b)}._quizExplanation_1hnm5_817{margin-top:var(--nice-space-3, 12px);padding:var(--nice-space-3-5, 14px);background:var(--nice-bg-secondary, #f8fafc);border-radius:var(--nice-radius-lg, 8px);color:var(--nice-text-secondary, #475569);font-size:.9375rem;line-height:1.6}._interactiveCountdown_1hnm5_841{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--nice-space-5, 20px)}._countdownWarning_1hnm5_857{animation:_countdownPulse_1hnm5_1 1s ease infinite}@keyframes _countdownPulse_1hnm5_1{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}._countdownComplete_1hnm5_875{opacity:.75}._countdownDigital_1hnm5_885{display:flex;align-items:center;gap:var(--nice-space-1, 4px);font-size:3rem;font-weight:700;font-variant-numeric:tabular-nums}._countdownSeparator_1hnm5_903{opacity:.6}._countdownDigit_1hnm5_885{min-width:1.2em;text-align:center}._countdownCircular_1hnm5_923{position:relative;width:150px;height:150px}._countdownCircleSvg_1hnm5_935{width:100%;height:100%;transform:rotateY(180deg)}._countdownProgressRing_1hnm5_947{transition:stroke-dashoffset .5s ease}._countdownCircleText_1hnm5_955{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:1.75rem;font-weight:700;font-variant-numeric:tabular-nums}._countdownLargeSeconds_1hnm5_975{font-size:2.5rem}._countdownFlip_1hnm5_985{display:flex;align-items:center;gap:var(--nice-space-2, 8px)}._flipCardContainer_1hnm5_997{display:flex;flex-direction:column;align-items:center;gap:var(--nice-space-1-5, 6px)}._flipCard_1hnm5_997{padding:var(--nice-space-4, 16px) var(--nice-space-5, 20px);background:linear-gradient(180deg,var(--nice-text, #1e293b) 0%,var(--nice-text, #334155) 100%);border-radius:var(--nice-radius-lg, 8px);color:#fff;font-size:2.5rem;font-weight:700;font-variant-numeric:tabular-nums;box-shadow:0 4px 12px var(--nice-overlay-30, rgba(0, 0, 0, .3))}._flipLabel_1hnm5_1033{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:var(--nice-text-secondary, #64748b)}._flipSeparator_1hnm5_1047{font-size:2rem;font-weight:700;opacity:.5;margin-bottom:var(--nice-space-5, 20px)}._countdownMinimal_1hnm5_1063{font-size:2rem;font-weight:600;font-variant-numeric:tabular-nums}._countdownCompleteMessage_1hnm5_1075{margin-top:var(--nice-space-3, 12px);font-size:1.25rem;font-weight:600;color:var(--nice-danger-dark, #dc2626)}._interactiveQnA_1hnm5_1093{display:flex;flex-direction:column;gap:var(--nice-space-4, 16px);padding:var(--nice-space-5, 20px);background:var(--nice-overlay-light-95, rgba(255, 255, 255, .95));border-radius:var(--nice-radius-xl, 12px);box-shadow:0 4px 20px var(--nice-overlay-10, rgba(0, 0, 0, .1));max-height:500px;overflow:hidden}._qnaHeader_1hnm5_1117{display:flex;align-items:center;justify-content:space-between;padding-bottom:var(--nice-space-3, 12px);border-bottom:1px solid var(--nice-border, #e2e8f0)}._qnaTitle_1hnm5_1133{margin:0;font-size:1.125rem;font-weight:600;color:var(--nice-text, #1e293b)}._qnaCount_1hnm5_1147{font-size:.875rem;color:var(--nice-text-secondary, #64748b)}._qnaInputForm_1hnm5_1157{display:flex;flex-direction:column;gap:var(--nice-space-3, 12px)}._qnaInputWrapper_1hnm5_1169{position:relative}._qnaInput_1hnm5_1157{width:100%;padding:var(--nice-space-3, 12px) var(--nice-space-3-5, 14px);padding-bottom:var(--nice-space-7, 28px);border:2px solid var(--nice-border, #e2e8f0);border-radius:var(--nice-radius-lg, 10px);font-size:.9375rem;resize:none;transition:border-color .2s ease}._qnaInput_1hnm5_1157:focus{outline:none;border-color:var(--nice-info, #6366f1)}._qnaInput_1hnm5_1157:disabled{background:var(--nice-bg-secondary, #f8fafc);cursor:not-allowed}._qnaCharCount_1hnm5_1219{position:absolute;bottom:8px;right:12px;font-size:.75rem;color:var(--nice-text-muted, #94a3b8)}._qnaInputActions_1hnm5_1235{display:flex;align-items:center;justify-content:space-between;gap:var(--nice-space-4, 16px)}._qnaAnonymousToggle_1hnm5_1249{display:flex;align-items:center;gap:var(--nice-space-1-5, 6px);font-size:.875rem;color:var(--nice-text-secondary, #475569);cursor:pointer}._qnaAnonymousToggle_1hnm5_1249 input{width:16px;height:16px;cursor:pointer}._qnaSubmitBtn_1hnm5_1279{padding:var(--nice-space-2-5, 10px) var(--nice-space-5, 20px);background:var(--nice-primary, #6366f1);color:#fff;border:none;border-radius:var(--nice-radius-lg, 8px);font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s ease}._qnaSubmitBtn_1hnm5_1279:hover:not(:disabled){filter:brightness(1.1)}._qnaSubmitBtn_1hnm5_1279:disabled{opacity:.5;cursor:not-allowed}._qnaClosedMessage_1hnm5_1321{padding:var(--nice-space-3, 12px);background:var(--nice-bg-secondary, #f8fafc);border-radius:var(--nice-radius-lg, 8px);color:var(--nice-text-secondary, #64748b);text-align:center;font-size:.875rem}._qnaQuestionsList_1hnm5_1339{display:flex;flex-direction:column;gap:var(--nice-space-2-5, 10px);overflow-y:auto;flex:1}._qnaQuestion_1hnm5_1339{display:flex;gap:var(--nice-space-3, 12px);padding:var(--nice-space-3-5, 14px);background:var(--nice-bg-secondary, #f8fafc);border-radius:var(--nice-radius-lg, 10px);transition:background .2s ease}._qnaQuestion_1hnm5_1339:hover{background:var(--nice-bg-secondary, #f1f5f9)}._qnaQuestionAnswered_1hnm5_1381{background:var(--nice-success-bg, #dcfce7);border-left:4px solid var(--nice-success, #22c55e)}._qnaQuestionContent_1hnm5_1391{flex:1;display:flex;flex-direction:column;gap:var(--nice-space-1-5, 6px)}._qnaQuestionText_1hnm5_1405{font-size:.9375rem;color:var(--nice-text, #1e293b);line-height:1.5}._qnaQuestionMeta_1hnm5_1417{display:flex;gap:var(--nice-space-3, 12px);font-size:.75rem;color:var(--nice-text-secondary, #64748b)}._qnaAuthor_1hnm5_1431{font-weight:500}._qnaQuestionActions_1hnm5_1439{display:flex;flex-direction:column;align-items:center;gap:var(--nice-space-2, 8px)}._qnaUpvoteBtn_1hnm5_1453{display:flex;flex-direction:column;align-items:center;gap:var(--nice-space-0-5, 2px);padding:var(--nice-space-1-5, 6px) var(--nice-space-2-5, 10px);background:transparent;border:1px solid var(--nice-border, #e2e8f0);border-radius:var(--nice-radius-lg, 8px);cursor:pointer;transition:all .2s ease}._qnaUpvoteBtn_1hnm5_1453:hover:not(:disabled){border-color:var(--nice-info, #6366f1);color:var(--nice-info, #6366f1)}._qnaUpvoted_1hnm5_1489{background:var(--nice-accent-tint-10, rgba(99, 102, 241, .1));border-color:var(--nice-info, #6366f1);color:var(--nice-info, #6366f1)}._qnaUpvoteBtn_1hnm5_1453:disabled{cursor:default}._qnaUpvoteIcon_1hnm5_1509{font-size:1rem}._qnaUpvoteCount_1hnm5_1517{font-size:.75rem;font-weight:600}._qnaAnsweredBtn_1hnm5_1527{padding:var(--nice-space-1, 4px) var(--nice-space-2, 8px);background:transparent;border:1px solid var(--nice-border, #e2e8f0);border-radius:var(--nice-radius-sm, 4px);font-size:.875rem;cursor:pointer;transition:all .2s ease}._qnaAnsweredBtn_1hnm5_1527:hover{background:var(--nice-bg-secondary, #f1f5f9)}._qnaMarkedAnswered_1hnm5_1555{background:var(--nice-success-bg, #dcfce7);border-color:var(--nice-success, #22c55e);color:var(--nice-success, #22c55e)}._qnaEmptyState_1hnm5_1567{padding:var(--nice-space-10, 40px) var(--nice-space-5, 20px);text-align:center;color:var(--nice-text-muted, #94a3b8);font-size:.9375rem}._qnaMoreQuestions_1hnm5_1581{padding:var(--nice-space-2-5, 10px);text-align:center;font-size:.875rem;color:var(--nice-text-secondary, #64748b);border-top:1px solid var(--nice-border, #e2e8f0)}._qnaStyle_stack_1hnm5_1599 ._qnaQuestionsList_1hnm5_1339{flex-direction:column-reverse}._qnaStyle_floating_1hnm5_1609{position:fixed;bottom:20px;right:20px;width:360px;max-height:450px;z-index:1000}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice2dev/ui-presentations",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Nice2Dev Presentation Editor & Player — animated slides with data binding, charts, diagram embedding, and custom .ndp.json format",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"react": ">=17.0.0",
|
|
38
38
|
"react-dom": ">=17.0.0",
|
|
39
|
-
"@nice2dev/ui": "1.0.
|
|
39
|
+
"@nice2dev/ui": "^1.0.14"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@testing-library/jest-dom": "^6.9.1",
|